Searched refs:sizeInShorts (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/java/android/media/ |
D | AudioRecord.java | 1145 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in read() argument 1146 return read(audioData, offsetInShorts, sizeInShorts, READ_BLOCKING); in read() 1175 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in read() argument 1186 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0) in read() 1187 || (offsetInShorts + sizeInShorts < 0) // detect integer overflow in read() 1188 || (offsetInShorts + sizeInShorts > audioData.length)) { in read() 1192 return native_read_in_short_array(audioData, offsetInShorts, sizeInShorts, in read() 1771 int offsetInShorts, int sizeInShorts, boolean isBlocking); in native_read_in_short_array() argument
|
D | AudioTrack.java | 2326 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in write() argument 2327 return write(audioData, offsetInShorts, sizeInShorts, WRITE_BLOCKING); in write() 2370 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in write() argument 2382 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0) in write() 2383 || (offsetInShorts + sizeInShorts < 0) // detect integer overflow in write() 2384 || (offsetInShorts + sizeInShorts > audioData.length)) { in write() 2388 int ret = native_write_short(audioData, offsetInShorts, sizeInShorts, mAudioFormat, in write() 3210 int offsetInShorts, int sizeInShorts, int format, in native_write_short() argument
|