Searched defs:audioData (Results 1 - 9 of 9) sorted by relevance

/frameworks/av/media/libaaudio/tests/
H A Dtest_open_params.cpp47 void *audioData,
52 (void) audioData;
44 MyDataCallbackProc( AAudioStream *stream, void *userData, void *audioData, int32_t numFrames ) argument
/frameworks/av/media/libaaudio/examples/utils/
H A DAAudioSimplePlayer.h198 void *audioData,
219 int16_t *audioBuffer = (int16_t *) audioData;
229 float *audioBuffer = (float *) audioData;
195 SimplePlayerDataCallbackProc( AAudioStream *stream, void *userData, void *audioData, int32_t numFrames ) argument
H A DAAudioSimpleRecorder.h206 void *audioData,
222 int16_t *audioBuffer = (int16_t *) audioData;
234 float *audioBuffer = (float *) audioData;
203 SimpleRecorderDataCallbackProc( AAudioStream *stream, void *userData, void *audioData, int32_t numFrames ) argument
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h120 uint8_t* audioData; member in struct:android::BootAnimation::Animation::Part
/frameworks/base/media/java/android/media/
H A DMediaSync.java497 * @param audioData the buffer that holds the data to play. This buffer will be returned
499 * @param bufferId an integer used to identify audioData. It will be returned to
500 * the client along with audioData. This helps applications to keep track of audioData,
508 @NonNull ByteBuffer audioData, int bufferId, long presentationTimeUs) {
515 mAudioBuffers.add(new AudioBuffer(audioData, bufferId, presentationTimeUs));
507 queueAudio( @onNull ByteBuffer audioData, int bufferId, long presentationTimeUs) argument
H A DAudioRecord.java1052 * @param audioData the array to which the recorded audio data is written.
1053 * @param offsetInBytes index in audioData from which the data is written expressed in bytes.
1066 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { argument
1067 return read(audioData, offsetInBytes, sizeInBytes, READ_BLOCKING);
1075 * @param audioData the array to which the recorded audio data is written.
1076 * @param offsetInBytes index in audioData to which the data is written expressed in bytes.
1097 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, argument
1108 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0)
1110 || (offsetInBytes + sizeInBytes > audioData.length)) {
1114 return native_read_in_byte_array(audioData, offsetInByte
1139 read(@onNull short[] audioData, int offsetInShorts, int sizeInShorts) argument
1169 read(@onNull short[] audioData, int offsetInShorts, int sizeInShorts, @ReadMode int readMode) argument
1216 read(@onNull float[] audioData, int offsetInFloats, int sizeInFloats, @ReadMode int readMode) argument
1753 native_read_in_byte_array(byte[] audioData, int offsetInBytes, int sizeInBytes, boolean isBlocking) argument
1756 native_read_in_short_array(short[] audioData, int offsetInShorts, int sizeInShorts, boolean isBlocking) argument
1759 native_read_in_float_array(float[] audioData, int offsetInFloats, int sizeInFloats, boolean isBlocking) argument
[all...]
H A DAudioTrack.java2083 * @param audioData the array that holds the data to play.
2084 * @param offsetInBytes the offset expressed in bytes in audioData where the data to write
2087 * @param sizeInBytes the number of bytes to write in audioData after the offset.
2103 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { argument
2104 return write(audioData, offsetInBytes, sizeInBytes, WRITE_BLOCKING);
2125 * @param audioData the array that holds the data to play.
2126 * @param offsetInBytes the offset expressed in bytes in audioData where the data to write
2129 * @param sizeInBytes the number of bytes to write in audioData after the offset.
2149 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, argument
2161 if ( (audioData
2214 write(@onNull short[] audioData, int offsetInShorts, int sizeInShorts) argument
2258 write(@onNull short[] audioData, int offsetInShorts, int sizeInShorts, @WriteMode int writeMode) argument
2339 write(@onNull float[] audioData, int offsetInFloats, int sizeInFloats, @WriteMode int writeMode) argument
2420 write(@onNull ByteBuffer audioData, int sizeInBytes, @WriteMode int writeMode) argument
2493 write(@onNull ByteBuffer audioData, int sizeInBytes, @WriteMode int writeMode, long timestamp) argument
3050 native_write_byte(byte[] audioData, int offsetInBytes, int sizeInBytes, int format, boolean isBlocking) argument
3054 native_write_short(short[] audioData, int offsetInShorts, int sizeInShorts, int format, boolean isBlocking) argument
3058 native_write_float(float[] audioData, int offsetInFloats, int sizeInFloats, int format, boolean isBlocking) argument
3062 native_write_native_bytes(Object audioData, int positionInBytes, int sizeInBytes, int format, boolean blocking) argument
[all...]
/frameworks/av/media/libaaudio/examples/loopback/src/
H A Dloopback.cpp248 void *audioData,
253 float *outputData = (float *) audioData;
245 MyDataCallbackProc( AAudioStream *outputStream, void *userData, void *audioData, int32_t numFrames ) argument
/frameworks/av/media/libaaudio/src/client/
H A DAudioStreamInternal.cpp498 uint8_t* audioData = (uint8_t*)buffer; local
513 aaudio_result_t framesProcessed = processDataNow(audioData, framesLeft,
521 audioData += framesProcessed * getBytesPerFrame();

Completed in 314 milliseconds