Searched defs:offsetInShorts (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/media/java/android/media/
H A DAudioRecord.java1123 * @param offsetInShorts index in audioData to which the data is written expressed in shorts.
1139 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { argument
1140 return read(audioData, offsetInShorts, sizeInShorts, READ_BLOCKING);
1148 * @param offsetInShorts index in audioData from which the data is written expressed in shorts.
1169 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, argument
1180 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0)
1181 || (offsetInShorts + sizeInShorts < 0) // detect integer overflow
1182 || (offsetInShorts + sizeInShorts > audioData.length)) {
1186 return native_read_in_short_array(audioData, offsetInShorts, sizeInShorts,
1757 int offsetInShorts, in
1756 native_read_in_short_array(short[] audioData, int offsetInShorts, int sizeInShorts, boolean isBlocking) argument
[all...]
H A DAudioTrack.java2195 * @param offsetInShorts the offset expressed in shorts in audioData where the data to play
2214 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { argument
2215 return write(audioData, offsetInShorts, sizeInShorts, WRITE_BLOCKING);
2235 * @param offsetInShorts the offset expressed in shorts in audioData where the data to write
2258 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, argument
2270 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0)
2271 || (offsetInShorts + sizeInShorts < 0) // detect integer overflow
2272 || (offsetInShorts + sizeInShorts > audioData.length)) {
2276 int ret = native_write_short(audioData, offsetInShorts, sizeInShorts, mAudioFormat,
3055 int offsetInShorts, in
3054 native_write_short(short[] audioData, int offsetInShorts, int sizeInShorts, int format, boolean isBlocking) argument
[all...]

Completed in 66 milliseconds