Lines Matching defs:audioData
574 * @param audioData the array to which the recorded audio data is written.
575 * @param offsetInBytes index in audioData from which the data is written expressed in bytes.
582 public int read(byte[] audioData, int offsetInBytes, int sizeInBytes) {
587 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0)
588 || (offsetInBytes + sizeInBytes > audioData.length)) {
592 return native_read_in_byte_array(audioData, offsetInBytes, sizeInBytes);
598 * @param audioData the array to which the recorded audio data is written.
599 * @param offsetInShorts index in audioData from which the data is written expressed in shorts.
606 public int read(short[] audioData, int offsetInShorts, int sizeInShorts) {
611 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0)
612 || (offsetInShorts + sizeInShorts > audioData.length)) {
616 return native_read_in_short_array(audioData, offsetInShorts, sizeInShorts);
817 private native final int native_read_in_byte_array(byte[] audioData,
820 private native final int native_read_in_short_array(short[] audioData,