commit | ed242da52f975a1dd18671afb346b18853d729f2 | [log] [tgz] |
---|---|---|
author | Atneya Nair <atneya@google.com> | Mon Mar 28 20:06:58 2022 -0400 |
committer | Atneya Nair <atneya@google.com> | Wed Apr 13 16:35:19 2022 +0000 |
tree | 32a6f9067e00a16f67ae95624a992226634c9ccc | |
parent | 7d172495ecd14dba613bb00ffb7d4c19da16426a [diff] |
Update AudioRecord JNI callback and cleanup Encapsulate AudioRecord native handle into ref-counted object. Use sp<> to prevent destruction race. Fulfill new callback interface. Test: atest AudioRecordTest, atest AudioTrackTest Bug: 218351957 Bug: 199156212 Change-Id: Ia090556a90e012e6a08f39104f6a0a9f0cdf74f0