audio/hal: Set playback buffer size to integral multiple of msec

- Set the deep-buffer and low-latency output buffer sizes to
  integral multiple of msec. This reduces the variations in
  the writes.
- Compute the input buffer size based on sample rate. Use 20msec
  buffers in capture path.

Bug: 9283911, 9106434
Change-Id: Icbcb653f7f0fd3293dd4b514a54ac91d8311b308
3 files changed
tree: a004be0017907fcceca4dc2f9107bb18739a24ab
  1. hal/
  2. legacy/
  3. voice_processing/
  4. Android.mk