audio_hw: Clean up out_write and in_read frame computation

Bug: 62375627
Bug: 62918461
Test: AudioTrackTest AudioRecordTest CTS
Change-Id: Icdccce108ac7a0fa5190032a29ea927f5c82049b
(cherry picked from commit 8e7f03f051f0dee1f838acf3aae4043642740149)
1 file changed
tree: 717f28f6825489b98ca8e30296890b6200b1b526
  1. hal/
  2. legacy/
  3. post_proc/
  4. visualizer/
  5. voice_processing/
  6. Android.mk