Fix typo nbChannels -> channelMask

Formal parameter name in native_setup was wrong.

Change-Id: Ie76c6e0aca83c6a01f2581d988e32da730b7e427
This commit is contained in:
Glenn Kasten
2013-11-22 11:57:27 -08:00
parent 2ab3ec21c0
commit a4b06fd111
2 changed files with 2 additions and 2 deletions

View File

@@ -800,7 +800,7 @@ public class AudioRecord
//--------------------
private native final int native_setup(Object audiorecord_this,
int recordSource, int sampleRate, int nbChannels, int audioFormat,
int recordSource, int sampleRate, int channelMask, int audioFormat,
int buffSizeInBytes, int[] sessionId);
private native final void native_finalize();

View File

@@ -1319,7 +1319,7 @@ public class AudioTrack
//--------------------
private native final int native_setup(Object audiotrack_this,
int streamType, int sampleRate, int nbChannels, int audioFormat,
int streamType, int sampleRate, int channelMask, int audioFormat,
int buffSizeInBytes, int mode, int[] sessionId);
private native final void native_finalize();