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
Loading
Please register or sign in to comment