hal: Fix AudioRecord and AudioTrack timestamps incorrect

Add delay  from xml, add platform capture delay
with audio source for AudioRecord, and add more delay in
platform_render_latency for playback usecases.

Bug: 137600762
Test: Manual test with Clarity test apk
Change-Id: I95088fc1826cbb0ecaf2409d6e184dbaaaae7c12
Signed-off-by: millerliang <millerliang@google.com>
6 files changed
tree: 34b1dfec3e6125bdb671056f91b96f6fad28ca87
  1. hal/
  2. legacy/
  3. post_proc/
  4. visualizer/
  5. voice_processing/
  6. Android.mk
  7. OWNERS