Merge "Make native_release() methods in AudioTrack and AudioRecord JNI-callable." into nyc-dev
This commit is contained in:
@@ -1738,7 +1738,10 @@ public class AudioRecord implements AudioRouting
|
|||||||
// TODO remove: implementation calls directly into implementation of native_release()
|
// TODO remove: implementation calls directly into implementation of native_release()
|
||||||
private native final void native_finalize();
|
private native final void native_finalize();
|
||||||
|
|
||||||
private native final void native_release();
|
/**
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public native final void native_release();
|
||||||
|
|
||||||
private native final int native_start(int syncEvent, int sessionId);
|
private native final int native_start(int syncEvent, int sessionId);
|
||||||
|
|
||||||
|
|||||||
@@ -2794,7 +2794,10 @@ public class AudioTrack implements AudioRouting
|
|||||||
|
|
||||||
private native final void native_finalize();
|
private native final void native_finalize();
|
||||||
|
|
||||||
private native final void native_release();
|
/**
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public native final void native_release();
|
||||||
|
|
||||||
private native final void native_start();
|
private native final void native_start();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user