Searched defs:audioData (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/media/java/android/media/ |
H A D | AudioRecord.java | 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) { argument 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) { argument 611 if ( (audioData 817 native_read_in_byte_array(byte[] audioData, int offsetInBytes, int sizeInBytes) argument 820 native_read_in_short_array(short[] audioData, int offsetInShorts, int sizeInShorts) argument [all...] |
H A D | AudioTrack.java | 975 * @param audioData the array that holds the data to play. 976 * @param offsetInBytes the offset expressed in bytes in audioData where the data to play 978 * @param sizeInBytes the number of bytes to read in audioData after the offset. 984 public int write(byte[] audioData, int offsetInBytes, int sizeInBytes) { argument 990 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) 992 || (offsetInBytes + sizeInBytes > audioData.length)) { 996 int ret = native_write_byte(audioData, offsetInBytes, sizeInBytes, mAudioFormat); 1016 * @param audioData the array that holds the data to play. 1017 * @param offsetInShorts the offset expressed in shorts in audioData where the data to play 1019 * @param sizeInShorts the number of bytes to read in audioData afte 1025 write(short[] audioData, int offsetInShorts, int sizeInShorts) argument 1247 native_write_byte(byte[] audioData, int offsetInBytes, int sizeInBytes, int format) argument 1250 native_write_short(short[] audioData, int offsetInShorts, int sizeInShorts, int format) argument [all...] |
Completed in 52 milliseconds