Home
last modified time | relevance | path

Searched refs:offsetInShorts (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioRecord.java585 public int read(short[] audioData, int offsetInShorts, int sizeInShorts) { in read() argument
590 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0) in read()
591 || (offsetInShorts + sizeInShorts > audioData.length)) { in read()
595 return native_read_in_short_array(audioData, offsetInShorts, sizeInShorts); in read()
798 int offsetInShorts, int sizeInShorts); in native_read_in_short_array() argument
DAudioTrack.java945 public int write(short[] audioData, int offsetInShorts, int sizeInShorts) { in write() argument
956 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0) in write()
957 || (offsetInShorts + sizeInShorts > audioData.length)) { in write()
961 return native_write_short(audioData, offsetInShorts, sizeInShorts, mAudioFormat); in write()
1168 int offsetInShorts, int sizeInShorts, int format); in native_write_short() argument
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp369 jint offsetInShorts, jint sizeInShorts) { in android_media_AudioRecord_readInShortArray() argument
373 offsetInShorts*2, sizeInShorts*2) in android_media_AudioRecord_readInShortArray()
Dandroid_media_AudioTrack.cpp568 jint offsetInShorts, jint sizeInShorts, in android_media_AudioTrack_native_write_short() argument
572 offsetInShorts*2, sizeInShorts*2, in android_media_AudioTrack_native_write_short()