Searched defs:sizeInShorts (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp407 jint offsetInShorts, jint sizeInShorts) {
411 offsetInShorts*2, sizeInShorts*2)
405 android_media_AudioRecord_readInShortArray(JNIEnv *env, jobject thiz, jshortArray javaAudioData, jint offsetInShorts, jint sizeInShorts) argument
H A Dandroid_media_AudioTrack.cpp593 jint offsetInShorts, jint sizeInShorts,
597 offsetInShorts*2, sizeInShorts*2,
591 android_media_AudioTrack_native_write_short(JNIEnv *env, jobject thiz, jshortArray javaAudioData, jint offsetInShorts, jint sizeInShorts, jint javaAudioFormat) argument
/frameworks/base/media/java/android/media/
H A DAudioRecord.java598 * @param sizeInShorts the number of requested shorts.
602 * The number of shorts will not exceed sizeInShorts.
604 public int read(short[] audioData, int offsetInShorts, int sizeInShorts) { argument
609 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0)
610 || (offsetInShorts + sizeInShorts > audioData.length)) {
614 return native_read_in_short_array(audioData, offsetInShorts, sizeInShorts);
817 int offsetInShorts, int sizeInShorts);
816 native_read_in_short_array(short[] audioData, int offsetInShorts, int sizeInShorts) argument
H A DAudioTrack.java997 * @param sizeInShorts the number of bytes to read in audioData after the offset.
1003 public int write(short[] audioData, int offsetInShorts, int sizeInShorts) { argument
1006 && (sizeInShorts > 0)) {
1014 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0)
1015 || (offsetInShorts + sizeInShorts > audioData.length)) {
1019 return native_write_short(audioData, offsetInShorts, sizeInShorts, mAudioFormat);
1226 int offsetInShorts, int sizeInShorts, int format);
1225 native_write_short(short[] audioData, int offsetInShorts, int sizeInShorts, int format) argument

Completed in 830 milliseconds