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

/frameworks/base/media/java/android/media/
H A DAudioRecord.java1125 * @param sizeInShorts the number of requested shorts.
1129 * sizeInShorts.
1139 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { argument
1140 return read(audioData, offsetInShorts, sizeInShorts, READ_BLOCKING);
1150 * @param sizeInShorts the number of requested shorts.
1159 * sizeInShorts.
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 > audioDat
1756 native_read_in_short_array(short[] audioData, int offsetInShorts, int sizeInShorts, boolean isBlocking) argument
[all...]
H A DAudioTrack.java2198 * @param sizeInShorts the number of shorts to read in audioData after the offset.
2202 * exceed sizeInShorts.
2214 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { argument
2215 return write(audioData, offsetInShorts, sizeInShorts, WRITE_BLOCKING);
2238 * @param sizeInShorts the number of shorts to read in audioData after the offset.
2248 * exceed sizeInShorts.
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 > audioDat
3054 native_write_short(short[] audioData, int offsetInShorts, int sizeInShorts, int format, boolean isBlocking) argument
[all...]

Completed in 62 milliseconds