Home
last modified time | relevance | path

Searched refs:numChans (Results 1 – 23 of 23) sorted by relevance

/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/
DNativeAudioSink.java29 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
DAudioSink.java24 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/
DNativeAudioSource.java29 public void init(int numFrames, int numChans) { in init() argument
30 initN(mNativeSourcePtr, numFrames, numChans); in init()
61 public int pull(float[] audioData, int numFrames, int numChans) { in pull() argument
62 return pullN(mNativeSourcePtr, audioData, numFrames, numChans); in pull()
65 private native void initN(long nativeSourcePtr, int numFrames, int numChans); in initN() argument
70 private native int pullN(long nativeSourcePtr, float[] audioData, int numFrames, int numChans); in pullN() argument
DAudioSource.java26 public void init(int numFrames, int numChans) {} in init() argument
61 public abstract int pull(float[] audioData, int numFrames, int numChans); in pull() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/peripheralprofile/
DUSBDeviceInfoHelper.java46 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/
DBlipAudioSource.cpp36 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()
DJavaSourceProxy.cpp83 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()
DSilenceAudioSource.cpp20 int SilenceAudioSource::pull(float* buffer, int numFrames, int numChans) { in pull() argument
21 memset(buffer, 0, sizeof(float) * numFrames * numChans); in pull()
DNoiseAudioSource.cpp26 int NoiseAudioSource::pull(float* buffer, int numFrames, int numChans) { in pull() argument
27 int numSamples = numFrames * numChans; in pull()
DAudioSource.h44 virtual void init(int numFrames, int numChans) {} in init() argument
67 virtual int pull(float* buffer, int numFrames, int numChans) = 0;
DJavaSourceProxy.h34 virtual void init(int numFrames, int numChans);
41 virtual int pull(float* buffer, int numFrames, int numChans);
DNoiseAudioSource.h31 virtual int pull(float* buffer, int numFrames, int numChans) override;
DSilenceAudioSource.h35 virtual int pull(float* buffer, int numFrames, int numChans) override;
DWaveTableSource.cpp59 int WaveTableSource::pull(float* buffer, int numFrames, int numChans) { in pull() argument
76 for (int chanIndex = 0; chanIndex < numChans; chanIndex++) { in pull()
DBlipAudioSource.h45 virtual int pull(float* buffer, int numFrames, int numChans) override;
DWaveTableSource.h83 virtual int pull(float* buffer, int numFrames, int numChans) override;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DWaveScopeView.java108 public void setPCMFloatBuff(float[] smplFloatBuff, int numChans, int numFrames) { in setPCMFloatBuff() argument
111 mNumChannels = numChans; in setPCMFloatBuff()
168 private void drawChannelFloat(Canvas cvs, float[] samples, int numFrames, int numChans, in drawChannelFloat() argument
171 float height = getHeight() - mVerticalInset * 2.0f * (float) numChans; in drawChannelFloat()
181 float yScale = height / (float) (2 * numChans); in drawChannelFloat()
206 smplIndex += numChans; in drawChannelFloat()
224 smplIndex += numChans; in drawChannelFloat()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/
DNoiseAudioSource.java38 public int pull(float[] buffer, int numFrames, int numChans) { in pull() argument
39 for (int index = 0; index < numFrames * numChans; index++) { in pull()
DSparseChannelAudioSource.java54 public int pull(float[] buffer, int numFrames, int numChans) { in pull() argument
71 for (int chanIndex = 0; chanIndex < numChans; chanIndex++) { in pull()
DSilenceAudioSource.java31 public int pull(float[] buffer, int numFrames, int numChans) { in pull() argument
DWaveTableSource.java115 public int pull(float[] buffer, int numFrames, int numChans) { in pull() argument
132 for (int chanIndex = 0; chanIndex < numChans; chanIndex++) { in pull()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/sources/
DBlipAudioSource.java54 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/recorder/sinks/
DAppCallbackAudioSink.java30 public void push(float[] audioData, int numFrames, int numChans) { in push() argument