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

Skip to content
Commit eb1f9a30 authored by Jaideep Sharma's avatar Jaideep Sharma
Browse files

libeffects: Fix processed samples for downmix effect

In downmix effect, input and output sizes can be different,
where the output produced follows:
outputSize = (inputSize * outFrameSize/inFrameSize)

Writing a size beyond the capacity of FMQ fails the write
operation leading to no sound.

Fix the generated output sample in above mentioned ratio.

Bug: 318926783
Test: play a 8 channel file and check sound

Change-Id: Ifbe6fba90d08a2e30339117f90b994cfdb668bb4
parent 0f41381a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment