Refactor for AudioTrack/Record callback interface

Replace libaudioclient callback functions with appropriate
interfaces. Control callback object lifetime with ref-counting.
Misc cleanup including using sp<> where appropriate.

Test: OboeTester Output/Input streams
Bug: 199156212
Bug: 216175830
Change-Id: I366c543e85a62f878908836e9ad1914182dc9e6f
6 files changed
tree: 5b450ed5a37ea85187be342cea42c558e4695d75
  1. doc/
  2. include/
  3. src/
  4. tests/
  5. tools/
  6. Android.bp
  7. OWNERS
  8. TEST_MAPPING