Home
last modified time | relevance | path

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

12

/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/
DNativeAudioSink.java44 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
DAudioSink.java37 abstract public void push(final float[] audioData, int numFrames, int numChans); in push() argument
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/
DNativeAudioSource.java61 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
DAudioSource.java61 public abstract int pull(float[] audioData, int numFrames, int numChans); in pull() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/analyzers/
DMagnitudeAnalyzer.java43 public void analyzeBuffer(float[] audioData, int numChannels, int numFrames) { in analyzeBuffer() argument
44 for (float value : audioData) { in analyzeBuffer()
DSignalAnalyzer.java33 void analyzeBuffer(float[] audioData, int numChannels, int numFrames); in analyzeBuffer() argument
DBaseSineAnalyzer.java323 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/
DAppCallbackAudioSink.java30 public void push(float[] audioData, int numFrames, int numChans) { in push() argument
31 mCallback.onDataReady(audioData, numFrames); in push()
DAppCallback.java19 void onDataReady(float[] audioData, int numFrames); in onDataReady() argument
DNopAudioSink.java22 public void push(float[] audioData, int numFrames, int numChannels) { in push() argument
/cts/tests/tests/media/common/src/android/media/cts/
DAudioHelper.java584 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/
DAudioStreamHelper.java40 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/
DAudioNativeTest.java446 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/
DNativeAudioAnalyzer.cpp64 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/
DDefaultAudioSink.h29 virtual void push(float* audioData, int numChannels, int numFrames) ;
DAudioSink.h28 virtual void push(float* audioData, int numFrames, int numChannels) = 0;
DAppCallbackAudioSink.cpp67 void AppCallbackAudioSink::push(float* audioData, int numFrames, int numChannels) { in push() argument
77 env->SetFloatArrayRegion(mAudioDataArray, 0, numFrames * numChannels, audioData); in push()
DDefaultAudioSink.cpp32 void DefaultAudioSink::push(float* audioData, int numChannels, int numFrames) { in push() argument
DAppCallbackAudioSink.h32 virtual void push(float* audioData, int numFrames, int numChannels) override;
DOboeRecorder.h33 onAudioReady(oboe::AudioStream *audioStream,void *audioData, int numFrames) override;
DOboeRecorder.cpp100 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/
DOboePlayer.h32 virtual oboe::DataCallbackResult onAudioReady(oboe::AudioStream *oboeStream, void *audioData,
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_aaudio_callback.cpp207 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/
DMainWearableSensingService.java186 byte[] audioData, in sendAudio() argument
198 mAudioOutputStream.write(audioData); in sendAudio()
/cts/tests/tests/virtualdevice/audio/src/android/virtualdevice/cts/audio/
DVirtualAudioTest.java376 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()

12