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

Commit 298c4dc7 authored by Eric Laurent's avatar Eric Laurent Committed by Android Git Automerger
Browse files

am d202ac37: am b7092547: Merge "remove some restrictions on effect output...

am d202ac37: am b7092547: Merge "remove some restrictions on effect output channels" into lmp-mr1-dev automerge: ed1e55c5

* commit 'd202ac37':
  remove some restrictions on effect output channels
parents 123a2dea d202ac37
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2636,7 +2636,8 @@ status_t AudioFlinger::moveEffectChain_l(int sessionId,
    // Check whether the destination thread has a channel count of FCC_2, which is
    // currently required for (most) effects. Prevent moving the effect chain here rather
    // than disabling the addEffect_l() call in dstThread below.
    if (dstThread->mChannelCount != FCC_2) {
    if ((dstThread->type() == ThreadBase::MIXER || dstThread->type() == ThreadBase::DUPLICATING) &&
            dstThread->mChannelCount != FCC_2) {
        ALOGW("moveEffectChain_l() effect chain failed because"
                " destination thread %p channel count(%u) != %u",
                dstThread, dstThread->mChannelCount, FCC_2);