diff options
Diffstat (limited to 'examples/alffplay.cpp')
-rw-r--r-- | examples/alffplay.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/alffplay.cpp b/examples/alffplay.cpp index 9f6a1aec..12b924ae 100644 --- a/examples/alffplay.cpp +++ b/examples/alffplay.cpp @@ -173,9 +173,9 @@ struct AudioState { AVFramePtr mDecodedFrame; SwrContextPtr mSwresCtx; - /* Conversion format, for what gets fed to Alure */ - int mDstChanLayout{0}; - enum AVSampleFormat mDstSampleFmt{AV_SAMPLE_FMT_NONE}; + /* Conversion format, for what gets fed to OpenAL */ + int mDstChanLayout{0}; + AVSampleFormat mDstSampleFmt{AV_SAMPLE_FMT_NONE}; /* Storage of converted samples */ uint8_t *mSamples{nullptr}; @@ -564,7 +564,7 @@ int AudioState::handler() std::unique_lock<std::recursive_mutex> lock(mSrcMutex); ALenum fmt; - /* Find a suitable format for Alure. */ + /* Find a suitable format for OpenAL. */ mDstChanLayout = 0; if(mCodecCtx->sample_fmt == AV_SAMPLE_FMT_U8 || mCodecCtx->sample_fmt == AV_SAMPLE_FMT_U8P) { |