Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e6a61a5b authored by Andy Hung's avatar Andy Hung
Browse files

Effects: Only retry stereo config for legacy playback effects

Test: Compiles, SoloTester Regression
Bug: 76445198
Change-Id: I49b159e0ab73b17cc1d27a777da388b7a1cb3b87
parent fa33327e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -591,6 +591,7 @@ status_t AudioFlinger::EffectModule::configure()

#ifdef MULTICHANNEL_EFFECT_CHAIN
    if (status != NO_ERROR &&
            thread->isOutput() &&
            (mConfig.inputCfg.channels != AUDIO_CHANNEL_OUT_STEREO
                    || mConfig.outputCfg.channels != AUDIO_CHANNEL_OUT_STEREO)) {
        // Older effects may require exact STEREO position mask.