commit | 51634104ae2e91353905e53cdcb483a86d408ca7 | [log] [tgz] |
---|---|---|
author | cong.zhou <cong.zhou@lge.com> | Wed Nov 28 15:52:28 2012 -0800 |
committer | cong.zhou <cong.zhou@lge.com> | Fri Nov 30 12:39:00 2012 -0800 |
tree | f34e2aa5bc55baefcc89e41baba3dd36212883db | |
parent | 5676e25a9d99703a247cc03f3918f8ac2ddbb338 [diff] |
Fix bug in WAVExtractor for 24-bit per sample wav support stereo/multichannel 24-bit format kMaxFrameSize is fixed to 32768. When converting 24-bit to 16-bit, number of samlpes is maxBytesToRead /3. In this case, if the maxBytesToRead is not multiple of 3, pcm data is messed when converting. Bug:7630939 Change-Id: I0ea1b53eb1272a8d83b63815fc0a05b73cef75f1