commit | eb1f9a307e51bbf625ebbaf6d247f46458b26329 | [log] [tgz] |
---|---|---|
author | Jaideep Sharma <quic_jaidshar@quicinc.com> | Mon Jan 08 09:57:14 2024 +0530 |
committer | Jaideep Sharma <quic_jaidshar@quicinc.com> | Mon Jan 08 06:24:20 2024 +0000 |
tree | b6eb1ee7c103a2aa388ceb62cd87f44e23deb60c | |
parent | 0f41381a6feefd610243cbc6b82ff51680a8b437 [diff] |
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