Home
last modified time | relevance | path

Searched refs:numChans (Results 1 – 20 of 20) 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()
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
DAudioSource.java26 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/
DWaveScopeView.java55 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/
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
63 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;
DBlipAudioSource.h45 virtual int pull(float* buffer, int numFrames, int numChans) override;
DWaveTableSource.h86 virtual int pull(float* buffer, int numFrames, int numChans) override;
/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/player/sources/
DSilenceAudioSource.java31 public int pull(float[] buffer, int numFrames, int numChans) { in pull() argument
DWaveTableSource.java113 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/
DAppCallbackAudioSink.java30 public void push(float[] audioData, int numFrames, int numChans) { in push() argument