commit | c1c11b413026aa47f37960a03f83216bdf891b71 | [log] [tgz] |
---|---|---|
author | Yahan Zhou <yahan@google.com> | Tue Jan 16 12:44:04 2018 -0800 |
committer | Yahan Zhou <yahan@google.com> | Fri Jan 19 18:33:48 2018 +0000 |
tree | 48530e003c8bfbcc2c5faf2d0d0299fb6ae8605e | |
parent | 080b934e6da4c1e09c91e236f5d0705edbd6cb0c [diff] |
Audio mixer fix for number of frames not being a multipler of blocksize When the desired number of frames is not a multipler of blocksize, process__genericNoResampling will ask for 0 frames and crash. Fix it. BUG: 70902559 Test: cts-tradefed run cts -m CtsMediaTestCases -t android.media.cts.AudioTrackLatencyTest#testOutputLowLatency Change-Id: Id2ce771ee8a4e49fe6ea82e500017324c8918a73 (cherry picked from commit e38b72e410def6c44f090d149879cb620fcc7955)