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

Commit 1c79c053 authored by Ricardo Garcia's avatar Ricardo Garcia Committed by android-build-merger
Browse files

Merge "Override Auxiliary audio effect output as stereo" am: 568085d0 am: f34b5f6e

am: 7b5b1e31

Change-Id: I460e557f1d594d82c1ff3df95e55068ed2045b0a
parents bb7cea58 7b5b1e31
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -360,6 +360,8 @@ status_t AudioFlinger::EffectModule::configure()

    if ((mDescriptor.flags & EFFECT_FLAG_TYPE_MASK) == EFFECT_FLAG_TYPE_AUXILIARY) {
        mConfig.inputCfg.channels = AUDIO_CHANNEL_OUT_MONO;
        mConfig.outputCfg.channels = AUDIO_CHANNEL_OUT_STEREO;
        ALOGV("Overriding auxiliary effect input as MONO and output as STEREO");
    } else {
        mConfig.inputCfg.channels = channelMask;
        // TODO: Update this logic when multichannel effects are implemented.