/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/ |
D | NativeAudioSink.java | 29 public void init(int numFrames, int numChans) { in init() argument 30 initN(mNativeSinkPtr, numFrames, numChans); in init() 44 public void push(float[] audioData, int numFrames, int numChans) { in push() argument 45 pushN(mNativeSinkPtr, audioData, numFrames, numChans); in push() 48 private native void initN(long nativeSinkPtr, int numFrames, int numChans); in initN() argument 51 private native void pushN(long nativeSinkPtr, float[] audioData, int numFrames, int numChans); in pushN() argument
|
D | AudioSink.java | 24 public void init(int numFrames, int numChans) {} in init() argument 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 | 29 public void init(int numFrames, int numChans) { in init() argument 30 initN(mNativeSourcePtr, numFrames, numChans); in init() 45 public int pull(float[] audioData, int numFrames, int numChans) { in pull() argument 46 return pullN(mNativeSourcePtr, audioData, numFrames, numChans); in pull() 49 private native void initN(long nativeSourcePtr, int numFrames, int numChans); in initN() argument 52 private native int pullN(long nativeSourcePtr, float[] audioData, int numFrames, int numChans); in pullN() argument
|
D | AudioSource.java | 26 public void init(int numFrames, int numChans) {} in init() argument 52 public abstract int pull(float[] audioData, int numFrames, int numChans); in pull() argument
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
D | WaveScopeView.java | 55 public void setPCM16Buff(short[] smpl16Buff, int numChans, int numFrames) { in setPCM16Buff() argument 59 mNumChannels = numChans; in setPCM16Buff() 67 public void setPCMFloatBuff(float[] smplFloatBuff, int numChans, int numFrames) { in setPCMFloatBuff() argument 71 mNumChannels = numChans; in setPCMFloatBuff() 116 private void drawChannel16(Canvas cvs, short[] samples, int numFrames, int numChans, in drawChannel16() argument 118 float yScale = getHeight() / (float) (Short.MAX_VALUE * 2 * numChans); in drawChannel16() 131 smpl += numChans; in drawChannel16() 145 private void drawChannelFloat(Canvas cvs, float[] samples, int numFrames, int numChans, in drawChannelFloat() argument 147 float yScale = getHeight() / (float) (2 * numChans); in drawChannelFloat() 160 smpl += numChans; in drawChannelFloat()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/ |
D | USBDeviceInfoHelper.java | 46 int numChans = calcMaxChannelCount(deviceInfo); in getPlayChanMask() local 47 switch (numChans) { in getPlayChanMask() 59 Log.e(TAG, "getPlayChanMask() Unsupported number of channels: " + numChans); in getPlayChanMask() 71 int numChans = calcMaxChannelCount(deviceInfo); in getRecordChanMask() local 72 switch (numChans) { in getRecordChanMask()
|
/cts/apps/CtsVerifier/jni/megaaudio/player/ |
D | BlipAudioSource.cpp | 36 int BlipAudioSource::pull(float* buffer, int numFrames, int numChans) { in pull() argument 43 memset(buffer, 0, numFrames * numChans * sizeof(float)); in pull() 45 WaveTableSource::pull(buffer, numFrames, numChans); in pull()
|
D | JavaSourceProxy.cpp | 83 void JavaSourceProxy::init(int numFrames, int numChans) { in init() argument 86 mJavaBuffer = env->NewFloatArray(numFrames * numChans); in init() 110 int JavaSourceProxy::pull(float* buffer, int numFrames, int numChans) { in pull() argument 113 … int numFilledFrames = env->CallIntMethod(mSourceObj, sMidPull, mJavaBuffer, numFrames, numChans); in pull() 116 (numFilledFrames * numChans) * sizeof(float)); in pull()
|
D | SilenceAudioSource.cpp | 20 int SilenceAudioSource::pull(float* buffer, int numFrames, int numChans) { in pull() argument 21 memset(buffer, 0, sizeof(float) * numFrames * numChans); in pull()
|
D | NoiseAudioSource.cpp | 26 int NoiseAudioSource::pull(float* buffer, int numFrames, int numChans) { in pull() argument 27 int numSamples = numFrames * numChans; in pull()
|
D | AudioSource.h | 44 virtual void init(int numFrames, int numChans) {} in init() argument 63 virtual int pull(float* buffer, int numFrames, int numChans) = 0;
|
D | JavaSourceProxy.h | 34 virtual void init(int numFrames, int numChans); 41 virtual int pull(float* buffer, int numFrames, int numChans);
|
D | NoiseAudioSource.h | 31 virtual int pull(float* buffer, int numFrames, int numChans) override;
|
D | SilenceAudioSource.h | 35 virtual int pull(float* buffer, int numFrames, int numChans) override;
|
D | BlipAudioSource.h | 45 virtual int pull(float* buffer, int numFrames, int numChans) override;
|
D | WaveTableSource.h | 86 virtual int pull(float* buffer, int numFrames, int numChans) override;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/sources/ |
D | BlipAudioSource.java | 54 public int pull(float[] buffer, int numFrames, int numChans) { in pull() argument 58 super.pull(buffer, numFrames, numChans); in pull()
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/ |
D | SilenceAudioSource.java | 31 public int pull(float[] buffer, int numFrames, int numChans) { in pull() argument
|
D | WaveTableSource.java | 113 public int pull(float[] buffer, int numFrames, int numChans) { in pull() argument 130 for (int chanIndex = 0; chanIndex < numChans; chanIndex++) { in pull()
|
/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
|