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

Commit eb6300d4 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:...

Merge "Override Auxiliary audio effect output as stereo" am: 568085d0 am: f34b5f6e am: 7b5b1e31
am: 1c79c053

Change-Id: I2ef049fd9a82711022179938838c3f4598552b62
parents 93f52337 1c79c053
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -365,6 +365,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.