/frameworks/base/media/java/android/media/ |
D | AudioTrack.java | 2438 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { in write() argument 2439 return write(audioData, offsetInBytes, sizeInBytes, WRITE_BLOCKING); in write() 2484 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, in write() argument 2496 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) in write() 2498 || (offsetInBytes + sizeInBytes > audioData.length)) { in write() 2506 final int ret = native_write_byte(audioData, offsetInBytes, sizeInBytes, mAudioFormat, in write() 2553 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in write() argument 2554 return write(audioData, offsetInShorts, sizeInShorts, WRITE_BLOCKING); in write() 2597 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in write() argument 2609 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0) in write() [all …]
|
D | AudioRecord.java | 1164 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { in read() argument 1165 return read(audioData, offsetInBytes, sizeInBytes, READ_BLOCKING); in read() 1195 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, in read() argument 1206 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) in read() 1208 || (offsetInBytes + sizeInBytes > audioData.length)) { in read() 1212 return native_read_in_byte_array(audioData, offsetInBytes, sizeInBytes, in read() 1237 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in read() argument 1238 return read(audioData, offsetInShorts, sizeInShorts, READ_BLOCKING); in read() 1267 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in read() argument 1278 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0) in read() [all …]
|
D | MediaSync.java | 508 @NonNull ByteBuffer audioData, int bufferId, long presentationTimeUs) { in queueAudio() 515 mAudioBuffers.add(new AudioBuffer(audioData, bufferId, presentationTimeUs)); in queueAudio()
|
/frameworks/av/media/libaaudio/tests/ |
D | test_aaudio_monkey.cpp | 45 void *audioData, 170 void *audioData, in renderAudio() argument 178 int16_t *audioBuffer = (int16_t *) audioData; in renderAudio() 188 float *audioBuffer = (float *) audioData; in renderAudio() 214 void *audioData, in AAudioMonkeyDataCallback() argument 223 return monkey->renderAudio(stream, audioData, numFrames); in AAudioMonkeyDataCallback()
|
D | test_interference.cpp | 35 void *audioData, in MyDataCallbackProc() argument 41 memset(audioData, 0, numSamples * sizeof(int16_t)); in MyDataCallbackProc() 43 memset(audioData, 0, numSamples * sizeof(float)); in MyDataCallbackProc()
|
D | test_various.cpp | 33 void *audioData, in NoopDataCallbackProc() argument 38 (void) audioData; in NoopDataCallbackProc() 486 void *audioData, in CallbackOnceProc() argument 490 (void) audioData; in CallbackOnceProc() 571 void *audioData, in DangerousDataCallbackProc() argument 573 (void) audioData; in DangerousDataCallbackProc()
|
D | test_open_params.cpp | 32 void *audioData, in MyDataCallbackProc() argument 37 (void) audioData; in MyDataCallbackProc()
|
D | test_stop_hang.cpp | 66 void *audioData, in s_myDataCallbackProc() argument 70 (void) audioData; in s_myDataCallbackProc()
|
D | test_bad_disconnect.cpp | 49 void *audioData, in s_myDataCallbackProc() argument 53 (void) audioData; in s_myDataCallbackProc()
|
D | test_return_stop.cpp | 66 void *audioData, in s_myDataCallbackProc() argument 69 (void) audioData; in s_myDataCallbackProc()
|
D | test_timestamps.cpp | 104 void *audioData __unused, in timestampDataCallbackProc()
|
/frameworks/av/media/libaaudio/examples/utils/ |
D | AAudioSimpleRecorder.h | 254 void *audioData, in SimpleRecorderDataCallbackProc() argument 270 int16_t *audioBuffer = (int16_t *) audioData; in SimpleRecorderDataCallbackProc() 282 float *audioBuffer = (float *) audioData; in SimpleRecorderDataCallbackProc()
|
D | AAudioSimplePlayer.h | 311 void *audioData, in SimplePlayerDataCallbackProc() argument 366 int16_t *audioBuffer = (int16_t *) audioData; in SimplePlayerDataCallbackProc() 374 float *audioBuffer = (float *) audioData; in SimplePlayerDataCallbackProc()
|
/frameworks/base/cmds/bootanimation/ |
D | audioplay.cpp | 338 if (part.audioData != nullptr) { in init() 353 initAudioThread = new InitAudioThread(partWithAudio->audioData, in init() 360 if (playNumber == 0 && part.audioData && playSoundsAllowed()) { in playPart() 367 audioplay::playClip(part.audioData, part.audioLength); in playPart()
|
D | BootAnimation.h | 83 uint8_t* audioData; member
|
D | BootAnimation.cpp | 706 part.audioData = nullptr; in parseAnimationDesc() 723 part.audioData = nullptr; in parseAnimationDesc() 776 part.audioData = (uint8_t *)map->getDataPtr(); in preloadZip()
|
/frameworks/av/media/libaaudio/src/core/ |
D | AudioStream.h | 270 aaudio_data_callback_result_t maybeCallDataCallback(void *audioData, int32_t numFrames); 506 virtual const void * maybeConvertDeviceData(const void *audioData, int32_t numFrames) { in maybeConvertDeviceData() argument 507 return audioData; in maybeConvertDeviceData()
|
D | AudioStream.cpp | 401 aaudio_data_callback_result_t AudioStream::maybeCallDataCallback(void *audioData, in maybeCallDataCallback() argument 412 audioData, in maybeCallDataCallback()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamRecord.cpp | 291 const void * AudioStreamRecord::maybeConvertDeviceData(const void *audioData, int32_t numFrames) { in maybeConvertDeviceData() argument 301 (const int16_t *) audioData, in maybeConvertDeviceData() 305 return audioData; in maybeConvertDeviceData()
|
D | AudioStreamRecord.h | 79 const void * maybeConvertDeviceData(const void *audioData, int32_t numFrames) override;
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternal.cpp | 615 uint8_t* audioData = (uint8_t*)buffer; in processData() local 625 aaudio_result_t framesProcessed = processDataNow(audioData, framesLeft, in processData() 632 audioData += framesProcessed * getBytesPerFrame(); in processData()
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
D | loopback.cpp | 161 void *audioData, in MyDataCallbackProc() argument 167 float *outputData = (float *) audioData; in MyDataCallbackProc() 186 memset(audioData, 0 /* value */, numBytes); in MyDataCallbackProc()
|
/frameworks/av/media/libaaudio/include/aaudio/ |
D | AAudio.h | 808 void *audioData,
|