Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioRecord.java1022 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in read() argument
1023 return read(audioData, offsetInShorts, sizeInShorts, READ_BLOCKING); in read()
1043 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in read() argument
1054 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0) in read()
1055 || (offsetInShorts + sizeInShorts < 0) // detect integer overflow in read()
1056 || (offsetInShorts + sizeInShorts > audioData.length)) { in read()
1060 return native_read_in_short_array(audioData, offsetInShorts, sizeInShorts, in read()
1545 int offsetInShorts, int sizeInShorts, boolean isBlocking); in native_read_in_short_array() argument
DAudioTrack.java1800 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in write() argument
1801 return write(audioData, offsetInShorts, sizeInShorts, WRITE_BLOCKING); in write()
1839 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in write() argument
1851 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0) in write()
1852 || (offsetInShorts + sizeInShorts < 0) // detect integer overflow in write()
1853 || (offsetInShorts + sizeInShorts > audioData.length)) { in write()
1857 int ret = native_write_short(audioData, offsetInShorts, sizeInShorts, mAudioFormat, in write()
2535 int offsetInShorts, int sizeInShorts, int format, in native_write_short() argument