Skip to content
Commit ed242da5 authored by Atneya Nair's avatar Atneya Nair
Browse files

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
parent 7d172495
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment