/frameworks/base/core/java/android/companion/virtual/audio/ |
D | AudioCapture.java | 112 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { in read() argument 113 return read(audioData, offsetInBytes, sizeInBytes, READ_BLOCKING); in read() 117 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, in read() argument 122 sizeRead = mAudioRecord.read(audioData, offsetInBytes, sizeInBytes, readMode); in read() 150 public int read(@NonNull float[] audioData, int offsetInFloats, int sizeInFloats, in read() argument 155 sizeRead = mAudioRecord.read(audioData, offsetInFloats, sizeInFloats, readMode); in read() 164 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in read() argument 165 return read(audioData, offsetInShorts, sizeInShorts, READ_BLOCKING); in read() 169 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in read() argument 174 sizeRead = mAudioRecord.read(audioData, offsetInShorts, sizeInShorts, readMode); in read()
|
D | AudioInjection.java | 121 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { in write() argument 122 return write(audioData, offsetInBytes, sizeInBytes, WRITE_BLOCKING); in write() 126 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, in write() argument 131 sizeWrite = mAudioTrack.write(audioData, offsetInBytes, sizeInBytes, writeMode); in write() 167 public int write(@NonNull float[] audioData, int offsetInFloats, int sizeInFloats, in write() argument 172 sizeWrite = mAudioTrack.write(audioData, offsetInFloats, sizeInFloats, writeMode); in write() 181 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in write() argument 182 return write(audioData, offsetInShorts, sizeInShorts, WRITE_BLOCKING); in write() 186 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in write() argument 191 sizeWrite = mAudioTrack.write(audioData, offsetInShorts, sizeInShorts, writeMode); in write()
|
/frameworks/base/media/java/android/media/ |
D | AudioTrack.java | 3151 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { in write() argument 3152 return write(audioData, offsetInBytes, sizeInBytes, WRITE_BLOCKING); in write() 3197 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, in write() argument 3209 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) in write() 3211 || (offsetInBytes + sizeInBytes > audioData.length)) { in write() 3219 final int ret = native_write_byte(audioData, offsetInBytes, sizeInBytes, mAudioFormat, in write() 3266 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in write() argument 3267 return write(audioData, offsetInShorts, sizeInShorts, WRITE_BLOCKING); in write() 3310 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in write() argument 3325 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0) in write() [all …]
|
D | AudioRecord.java | 1581 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { in read() argument 1582 return read(audioData, offsetInBytes, sizeInBytes, READ_BLOCKING); in read() 1612 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, in read() argument 1624 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) in read() 1626 || (offsetInBytes + sizeInBytes > audioData.length)) { in read() 1630 return native_read_in_byte_array(audioData, offsetInBytes, sizeInBytes, in read() 1655 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in read() argument 1656 return read(audioData, offsetInShorts, sizeInShorts, READ_BLOCKING); in read() 1685 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in read() argument 1699 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, 188 void *audioData, in renderAudio() argument 196 int16_t *audioBuffer = (int16_t *) audioData; in renderAudio() 206 float *audioBuffer = (float *) audioData; in renderAudio() 236 void *audioData, in AAudioMonkeyDataCallback() argument 245 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_open_params.cpp | 32 void *audioData, in MyDataCallbackProc() argument 37 (void) audioData; in MyDataCallbackProc()
|
D | test_bad_disconnect.cpp | 49 void *audioData, in s_myDataCallbackProc() argument 53 (void) audioData; in s_myDataCallbackProc()
|
D | test_various.cpp | 34 void *audioData, in NoopDataCallbackProc() argument 45 float * const floatData = reinterpret_cast<float *>(audioData); in NoopDataCallbackProc() 717 void *audioData, in CallbackOnceProc() argument 721 (void) audioData; in CallbackOnceProc() 854 void *audioData, in DangerousDataCallbackProc() argument 856 (void) audioData; in DangerousDataCallbackProc()
|
D | test_steal_exclusive.cpp | 83 void *audioData, 310 void *audioData, in s_myDataCallbackProc() argument 314 return engine->onAudioReady(audioData, numFrames); 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 | AAudioSimplePlayer.h | 346 void *audioData, in SimplePlayerDataCallbackProc() argument 404 int16_t *audioBuffer = (int16_t *) audioData; in SimplePlayerDataCallbackProc() 412 float *audioBuffer = (float *) audioData; in SimplePlayerDataCallbackProc() 420 uint8_t *audioBuffer = (uint8_t *) audioData; in SimplePlayerDataCallbackProc() 429 int32_t *audioBuffer = (int32_t *) audioData; in SimplePlayerDataCallbackProc()
|
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()
|
/frameworks/base/cmds/bootanimation/ |
D | audioplay.cpp | 350 if (part.audioData != nullptr) { in init() 365 initAudioThread = new InitAudioThread(partWithAudio->audioData, in init() 372 if (playNumber == 0 && part.audioData && playSoundsAllowed()) { in playPart() 379 audioplay::playClip(part.audioData, part.audioLength); in playPart()
|
D | BootAnimation.h | 92 uint8_t* audioData; member
|
D | BootAnimation.cpp | 1266 part.audioData = nullptr; in parseAnimationDesc() 1284 part.audioData = nullptr; in parseAnimationDesc() 1346 part.audioData = (uint8_t *)map->getDataPtr(); in preloadZip()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamRecord.cpp | 321 const void * AudioStreamRecord::maybeConvertDeviceData(const void *audioData, int32_t numFrames) { in maybeConvertDeviceData() argument 331 (const int16_t *) audioData, in maybeConvertDeviceData() 335 return audioData; in maybeConvertDeviceData()
|
D | AudioStreamRecord.h | 76 const void * maybeConvertDeviceData(const void *audioData, int32_t numFrames) override;
|
/frameworks/av/media/libaaudio/src/core/ |
D | AudioStream.h | 359 aaudio_data_callback_result_t maybeCallDataCallback(void *audioData, int32_t numFrames); 664 virtual const void * maybeConvertDeviceData(const void *audioData, int32_t /*numFrames*/) { in maybeConvertDeviceData() argument 665 return audioData; in maybeConvertDeviceData()
|
D | AudioStream.cpp | 573 aaudio_data_callback_result_t AudioStream::maybeCallDataCallback(void *audioData, in maybeCallDataCallback() argument 584 audioData, in maybeCallDataCallback()
|
/frameworks/av/media/libaaudio/examples/loopback/src/ |
D | loopback.cpp | 185 void *audioData, in MyDataCallbackProc() argument 191 float *outputData = (float *) audioData; in MyDataCallbackProc() 210 memset(audioData, 0 /* value */, numBytes); in MyDataCallbackProc()
|
/frameworks/av/media/libaaudio/src/client/ |
D | AudioStreamInternal.cpp | 845 uint8_t* audioData = (uint8_t*)buffer; in processData() local 855 aaudio_result_t framesProcessed = processDataNow(audioData, framesLeft, in processData() 862 audioData += framesProcessed * getBytesPerFrame(); in processData()
|
/frameworks/av/media/libaaudio/include/aaudio/ |
D | AAudio.h | 1360 void* _Nonnull audioData,
|