Home
last modified time | relevance | path

Searched refs:audioData (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioTrack.java2838 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { in write() argument
2839 return write(audioData, offsetInBytes, sizeInBytes, WRITE_BLOCKING); in write()
2884 public int write(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, in write() argument
2896 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) in write()
2898 || (offsetInBytes + sizeInBytes > audioData.length)) { in write()
2906 final int ret = native_write_byte(audioData, offsetInBytes, sizeInBytes, mAudioFormat, in write()
2953 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in write() argument
2954 return write(audioData, offsetInShorts, sizeInShorts, WRITE_BLOCKING); in write()
2997 public int write(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in write() argument
3009 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0) in write()
[all …]
DAudioRecord.java1231 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes) { in read() argument
1232 return read(audioData, offsetInBytes, sizeInBytes, READ_BLOCKING); in read()
1262 public int read(@NonNull byte[] audioData, int offsetInBytes, int sizeInBytes, in read() argument
1273 if ( (audioData == null) || (offsetInBytes < 0 ) || (sizeInBytes < 0) in read()
1275 || (offsetInBytes + sizeInBytes > audioData.length)) { in read()
1279 return native_read_in_byte_array(audioData, offsetInBytes, sizeInBytes, in read()
1304 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts) { in read() argument
1305 return read(audioData, offsetInShorts, sizeInShorts, READ_BLOCKING); in read()
1334 public int read(@NonNull short[] audioData, int offsetInShorts, int sizeInShorts, in read() argument
1345 if ( (audioData == null) || (offsetInShorts < 0 ) || (sizeInShorts < 0) in read()
[all …]
DMediaSync.java508 @NonNull ByteBuffer audioData, int bufferId, long presentationTimeUs) { in queueAudio()
515 mAudioBuffers.add(new AudioBuffer(audioData, bufferId, presentationTimeUs)); in queueAudio()
/frameworks/av/media/libaaudio/tests/
Dtest_aaudio_monkey.cpp45 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()
Dtest_interference.cpp35 void *audioData, in MyDataCallbackProc() argument
41 memset(audioData, 0, numSamples * sizeof(int16_t)); in MyDataCallbackProc()
43 memset(audioData, 0, numSamples * sizeof(float)); in MyDataCallbackProc()
Dtest_open_params.cpp32 void *audioData, in MyDataCallbackProc() argument
37 (void) audioData; in MyDataCallbackProc()
Dtest_stop_hang.cpp66 void *audioData, in s_myDataCallbackProc() argument
70 (void) audioData; in s_myDataCallbackProc()
Dtest_bad_disconnect.cpp49 void *audioData, in s_myDataCallbackProc() argument
53 (void) audioData; in s_myDataCallbackProc()
Dtest_various.cpp33 void *audioData, in NoopDataCallbackProc() argument
39 float * const floatData = reinterpret_cast<float *>(audioData); in NoopDataCallbackProc()
672 void *audioData, in CallbackOnceProc() argument
676 (void) audioData; in CallbackOnceProc()
757 void *audioData, in DangerousDataCallbackProc() argument
759 (void) audioData; in DangerousDataCallbackProc()
Dtest_steal_exclusive.cpp83 void *audioData,
296 void *audioData, in s_myDataCallbackProc() argument
300 return engine->onAudioReady(audioData, numFrames); in s_myDataCallbackProc()
Dtest_return_stop.cpp66 void *audioData, in s_myDataCallbackProc() argument
69 (void) audioData; in s_myDataCallbackProc()
Dtest_timestamps.cpp104 void *audioData __unused, in timestampDataCallbackProc()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioSimpleRecorder.h254 void *audioData, in SimpleRecorderDataCallbackProc() argument
270 int16_t *audioBuffer = (int16_t *) audioData; in SimpleRecorderDataCallbackProc()
282 float *audioBuffer = (float *) audioData; in SimpleRecorderDataCallbackProc()
DAAudioSimplePlayer.h311 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/
Daudioplay.cpp338 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()
DBootAnimation.h88 uint8_t* audioData; member
DBootAnimation.cpp890 part.audioData = nullptr; in parseAnimationDesc()
907 part.audioData = nullptr; in parseAnimationDesc()
959 part.audioData = (uint8_t *)map->getDataPtr(); in preloadZip()
/frameworks/av/media/libaaudio/src/core/
DAudioStream.h296 aaudio_data_callback_result_t maybeCallDataCallback(void *audioData, int32_t numFrames);
532 virtual const void * maybeConvertDeviceData(const void *audioData, int32_t numFrames) { in maybeConvertDeviceData() argument
533 return audioData; in maybeConvertDeviceData()
DAudioStream.cpp470 aaudio_data_callback_result_t AudioStream::maybeCallDataCallback(void *audioData, in maybeCallDataCallback() argument
481 audioData, in maybeCallDataCallback()
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp304 const void * AudioStreamRecord::maybeConvertDeviceData(const void *audioData, int32_t numFrames) { in maybeConvertDeviceData() argument
314 (const int16_t *) audioData, in maybeConvertDeviceData()
318 return audioData; in maybeConvertDeviceData()
DAudioStreamRecord.h79 const void * maybeConvertDeviceData(const void *audioData, int32_t numFrames) override;
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.cpp677 uint8_t* audioData = (uint8_t*)buffer; in processData() local
687 aaudio_result_t framesProcessed = processDataNow(audioData, framesLeft, in processData()
694 audioData += framesProcessed * getBytesPerFrame(); in processData()
/frameworks/av/media/libaaudio/examples/loopback/src/
Dloopback.cpp180 void *audioData, in MyDataCallbackProc() argument
186 float *outputData = (float *) audioData; in MyDataCallbackProc()
205 memset(audioData, 0 /* value */, numBytes); in MyDataCallbackProc()
/frameworks/av/media/libaaudio/include/aaudio/
DAAudio.h881 void *audioData,
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...