commit | 225b713e1ef874ae9fda7a0c4c73c611f1d2b61b | [log] [tgz] |
---|---|---|
author | millerliang <millerliang@google.com> | Tue Jul 27 15:41:35 2021 +0800 |
committer | Craig Dooley <dooleyc@google.com> | Thu Jul 29 16:10:07 2021 +0000 |
tree | 14e88c8c072e890f4e6a5110084d919ab889081b | |
parent | 80f37d804aee6dfb4a178f2515f42e3687aa275c [diff] |
audio: refine the period size for raw playback For raw playback, the buffer size needs to equal to the ring buffer size. AoC changes the buffer size to 16384 bytes, but it cannot be divisible by 48(1ms frames with 48000 sample rate). Use the period size(frame couts) from configuration file. Bug: 194398677 Test: OboeTester->TEST OUTPUT Change-Id: I07f0cb7d5904e4e3ef78b9a15d31590fdd5a9087