/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/ |
D | NativeAudioSink.java | 44 public void push(float[] audioData, int numFrames, int numChans) { in push() argument 45 pushN(mNativeSinkPtr, audioData, numFrames, numChans); in push() 51 private native void pushN(long nativeSinkPtr, float[] audioData, int numFrames, int numChans); in pushN() argument
|
D | AudioSink.java | 37 abstract public void push(final float[] audioData, int numFrames, int numChans); in push() argument
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/ |
D | NativeAudioSource.java | 61 public int pull(float[] audioData, int numFrames, int numChans) { in pull() argument 62 return pullN(mNativeSourcePtr, audioData, numFrames, numChans); in pull() 70 private native int pullN(long nativeSourcePtr, float[] audioData, int numFrames, int numChans); in pullN() argument
|
D | AudioSource.java | 61 public abstract int pull(float[] audioData, int numFrames, int numChans); in pull() argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/analyzers/ |
D | MagnitudeAnalyzer.java | 43 public void analyzeBuffer(float[] audioData, int numChannels, int numFrames) { in analyzeBuffer() argument 44 for (float value : audioData) { in analyzeBuffer()
|
D | SignalAnalyzer.java | 33 void analyzeBuffer(float[] audioData, int numChannels, int numFrames); in analyzeBuffer() argument
|
D | BaseSineAnalyzer.java | 323 public void analyzeBuffer(float[] audioData, int numChannels, int numFrames) { in analyzeBuffer() argument 327 processInputFrame(audioData, offset); in analyzeBuffer()
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/sinks/ |
D | AppCallbackAudioSink.java | 30 public void push(float[] audioData, int numFrames, int numChans) { in push() argument 31 mCallback.onDataReady(audioData, numFrames); in push()
|
D | AppCallback.java | 19 void onDataReady(float[] audioData, int numFrames); in onDataReady() argument
|
D | NopAudioSink.java | 22 public void push(float[] audioData, int numFrames, int numChannels) { in push() argument
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | AudioHelper.java | 584 public int read(byte[] audioData, int offsetInBytes, int sizeInBytes) { in read() argument 588 int samples = super.read(audioData, offsetInBytes, sizeInBytes); in read() 590 final int result = mTrack.write(audioData, offsetInBytes, samples, in read() 598 public int read(byte[] audioData, int offsetInBytes, int sizeInBytes, int readMode) { in read() argument 602 int samples = super.read(audioData, offsetInBytes, sizeInBytes, readMode); in read() 604 final int result = mTrack.write(audioData, offsetInBytes, samples, in read() 612 public int read(short[] audioData, int offsetInShorts, int sizeInShorts) { in read() argument 616 int samples = super.read(audioData, offsetInShorts, sizeInShorts); in read() 618 final int result = mTrack.write(audioData, offsetInShorts, samples, in read() 626 public int read(short[] audioData, int offsetInShorts, int sizeInShorts, int readMode) { in read() argument [all …]
|
/cts/tests/tests/voiceinteraction/common/src/android/voiceinteraction/common/ |
D | AudioStreamHelper.java | 40 public static ParcelFileDescriptor[] createFakeAudioStreamPipe(byte[] audioData) in createFakeAudioStreamPipe() argument 45 fos.write(audioData); in createFakeAudioStreamPipe()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioNativeTest.java | 446 public int read(short[] audioData, int offsetInShorts, int sizeInShorts, int readFlags) { in read() argument 447 int samples = super.read(audioData, offsetInShorts, sizeInShorts, readFlags); in read() 449 Assert.assertEquals(samples, mTrack.write(audioData, offsetInShorts, samples, in read() 456 public int read(float[] audioData, int offsetInFloats, int sizeInFloats, int readFlags) { in read() argument 457 int samples = super.read(audioData, offsetInFloats, sizeInFloats, readFlags); in read() 459 Assert.assertEquals(samples, mTrack.write(audioData, offsetInFloats, samples, in read()
|
/cts/apps/CtsVerifier/jni/audio_loopback/ |
D | NativeAudioAnalyzer.cpp | 64 void *audioData, in dataCallbackProc() argument 68 float *outputData = (float *) audioData; in dataCallbackProc() 95 memset(audioData, 0 /* value */, numBytes); in dataCallbackProc() 185 void *audioData, in s_MyDataCallbackProc() argument 188 return myData->dataCallbackProc(audioData, numFrames); in s_MyDataCallbackProc()
|
/cts/apps/CtsVerifier/jni/megaaudio/recorder/ |
D | DefaultAudioSink.h | 29 virtual void push(float* audioData, int numChannels, int numFrames) ;
|
D | AudioSink.h | 28 virtual void push(float* audioData, int numFrames, int numChannels) = 0;
|
D | AppCallbackAudioSink.cpp | 67 void AppCallbackAudioSink::push(float* audioData, int numFrames, int numChannels) { in push() argument 77 env->SetFloatArrayRegion(mAudioDataArray, 0, numFrames * numChannels, audioData); in push()
|
D | DefaultAudioSink.cpp | 32 void DefaultAudioSink::push(float* audioData, int numChannels, int numFrames) { in push() argument
|
D | AppCallbackAudioSink.h | 32 virtual void push(float* audioData, int numFrames, int numChannels) override;
|
D | OboeRecorder.h | 33 onAudioReady(oboe::AudioStream *audioStream,void *audioData, int numFrames) override;
|
D | OboeRecorder.cpp | 100 oboe::AudioStream *audioStream, void *audioData, int numFrames) { in onAudioReady() argument 101 mAudioSink->push((float*)audioData, numFrames, mChannelCount); in onAudioReady()
|
/cts/apps/CtsVerifier/jni/megaaudio/player/ |
D | OboePlayer.h | 32 virtual oboe::DataCallbackResult onAudioReady(oboe::AudioStream *oboeStream, void *audioData,
|
/cts/tests/tests/nativemedia/aaudio/jni/ |
D | test_aaudio_callback.cpp | 207 AAudioStream *stream, void *userData, void *audioData, int32_t numFrames); 371 AAudioStream *stream, void *userData, void *audioData, int32_t numFrames); 378 void *audioData, in MyDataCallbackProc() argument 383 int16_t *shortData = (int16_t *) audioData; in MyDataCallbackProc() 386 float *floatData = (float *) audioData; in MyDataCallbackProc()
|
/cts/tests/tests/voiceinteraction/service/src/android/voiceinteraction/service/ |
D | MainWearableSensingService.java | 186 byte[] audioData, in sendAudio() argument 198 mAudioOutputStream.write(audioData); in sendAudio()
|
/cts/tests/tests/virtualdevice/audio/src/android/virtualdevice/cts/audio/ |
D | VirtualAudioTest.java | 376 ByteBuffer audioData = AudioInjector.createAudioData(); in playAudio() local 378 CHANNEL_OUT_MONO, ENCODING_PCM_16BIT, audioData.capacity(), in playAudio() 380 audioTrack.write(audioData, audioData.capacity(), WRITE_BLOCKING); in playAudio()
|