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

Commit 047b8b55 authored by Andy Hung's avatar Andy Hung Committed by android-build-merger
Browse files

Merge "Effects: Only retry stereo config for legacy playback effects" into pi-dev

am: 7121c67c

Change-Id: I3f83e9e127082cad40368bed6c25465e2a7858d1
parents c1e81a0b 7121c67c
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.