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

Commit 725e6f10 authored by Andy Hung's avatar Andy Hung
Browse files

AudioResampler: Accumulate for multichannel output

Test: Talkback with multichannel USB
Bug: 113697681
Change-Id: I1ca92f6c1abe71cea090bd01b31a4c45cb55e320
parent 8d499179
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -90,7 +90,7 @@ public:
        Accumulator<CHANNELS-1, TO>::acc(coef, data);
    }
    inline void volume(TO*& out, TO gain) {
        *out++ = volumeAdjust(value, gain);
        *out++ += volumeAdjust(value, gain);
        Accumulator<CHANNELS-1, TO>::volume(out, gain);
    }