Fix a couple alffplay comments still referencing Alure
This commit is contained in:
parent
aecfa0b426
commit
91e20dc12e
@ -173,9 +173,9 @@ struct AudioState {
|
|||||||
AVFramePtr mDecodedFrame;
|
AVFramePtr mDecodedFrame;
|
||||||
SwrContextPtr mSwresCtx;
|
SwrContextPtr mSwresCtx;
|
||||||
|
|
||||||
/* Conversion format, for what gets fed to Alure */
|
/* Conversion format, for what gets fed to OpenAL */
|
||||||
int mDstChanLayout{0};
|
int mDstChanLayout{0};
|
||||||
enum AVSampleFormat mDstSampleFmt{AV_SAMPLE_FMT_NONE};
|
AVSampleFormat mDstSampleFmt{AV_SAMPLE_FMT_NONE};
|
||||||
|
|
||||||
/* Storage of converted samples */
|
/* Storage of converted samples */
|
||||||
uint8_t *mSamples{nullptr};
|
uint8_t *mSamples{nullptr};
|
||||||
@ -564,7 +564,7 @@ int AudioState::handler()
|
|||||||
std::unique_lock<std::recursive_mutex> lock(mSrcMutex);
|
std::unique_lock<std::recursive_mutex> lock(mSrcMutex);
|
||||||
ALenum fmt;
|
ALenum fmt;
|
||||||
|
|
||||||
/* Find a suitable format for Alure. */
|
/* Find a suitable format for OpenAL. */
|
||||||
mDstChanLayout = 0;
|
mDstChanLayout = 0;
|
||||||
if(mCodecCtx->sample_fmt == AV_SAMPLE_FMT_U8 || mCodecCtx->sample_fmt == AV_SAMPLE_FMT_U8P)
|
if(mCodecCtx->sample_fmt == AV_SAMPLE_FMT_U8 || mCodecCtx->sample_fmt == AV_SAMPLE_FMT_U8P)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user