diff options
Diffstat (limited to 'examples/alffplay.cpp')
-rw-r--r-- | examples/alffplay.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/alffplay.cpp b/examples/alffplay.cpp index ec40f89a..ef7aa89d 100644 --- a/examples/alffplay.cpp +++ b/examples/alffplay.cpp @@ -1099,7 +1099,7 @@ int AudioState::handler() mFormat = AL_FORMAT_MONO16; } } - else if(mCodecCtx->ch_layout.order == AV_CHANNEL_ORDER_NATIVE + else if(mCodecCtx->ch_layout.order == AV_CHANNEL_ORDER_AMBISONIC && alIsExtensionPresent("AL_EXT_BFORMAT")) { auto order = static_cast<int>(std::sqrt(mCodecCtx->ch_layout.nb_channels)) - 1; |