Searched refs:offsetInShorts (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/java/android/media/ |
D | AudioRecord.java | 1447 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in read() argument 1448 return read(audioData, offsetInShorts, sizeInShorts, READ_BLOCKING); in read() 1477 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in read() argument 1491 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0) in read() 1492 || (offsetInShorts + sizeInShorts < 0) // detect integer overflow in read() 1493 || (offsetInShorts + sizeInShorts > audioData.length)) { in read() 1496 return native_read_in_short_array(audioData, offsetInShorts, sizeInShorts, in read() 2269 int offsetInShorts, int sizeInShorts, boolean isBlocking); in native_read_in_short_array() argument
|
D | AudioTrack.java | 3087 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in write() argument 3088 return write(audioData, offsetInShorts, sizeInShorts, WRITE_BLOCKING); in write() 3131 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in write() argument 3146 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0) in write() 3147 || (offsetInShorts + sizeInShorts < 0) // detect integer overflow in write() 3148 || (offsetInShorts + sizeInShorts > audioData.length)) { in write() 3156 final int ret = native_write_short(audioData, offsetInShorts, sizeInShorts, mAudioFormat, in write() 4276 int offsetInShorts, int sizeInShorts, int format, in native_write_short() argument
|