Searched refs:audioData (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/media/java/android/media/ |
H A D | AudioRecord.java | 532 * @param audioData the array to which the recorded audio data is written. 533 * @param offsetInBytes index in audioData from which the data is written expressed in bytes. 540 public int read(byte[] audioData, int offsetInBytes, int sizeInBytes) { argument 545 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) 546 || (offsetInBytes + sizeInBytes > audioData.length)) { 550 return native_read_in_byte_array(audioData, offsetInBytes, sizeInBytes); 556 * @param audioData the array to which the recorded audio data is written. 557 * @param offsetInShorts index in audioData from which the data is written expressed in shorts. 564 public int read(short[] audioData, int offsetInShorts, int sizeInShorts) { argument 569 if ( (audioData 772 native_read_in_byte_array(byte[] audioData, int offsetInBytes, int sizeInBytes) argument 775 native_read_in_short_array(short[] audioData, int offsetInShorts, int sizeInShorts) argument [all...] |
H A D | AudioTrack.java | 827 * @param audioData the array that holds the data to play. 828 * @param offsetInBytes the offset expressed in bytes in audioData where the data to play 830 * @param sizeInBytes the number of bytes to read in audioData after the offset. 836 public int write(byte[] audioData,int offsetInBytes, int sizeInBytes) { argument 847 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) 848 || (offsetInBytes + sizeInBytes > audioData.length)) { 852 return native_write_byte(audioData, offsetInBytes, sizeInBytes, mAudioFormat); 858 * @param audioData the array that holds the data to play. 859 * @param offsetInShorts the offset expressed in shorts in audioData where the data to play 861 * @param sizeInShorts the number of bytes to read in audioData afte 867 write(short[] audioData, int offsetInShorts, int sizeInShorts) argument 1029 native_write_byte(byte[] audioData, int offsetInBytes, int sizeInBytes, int format) argument 1032 native_write_short(short[] audioData, int offsetInShorts, int sizeInShorts, int format) argument [all...] |
Completed in 6 milliseconds