Home
last modified time | relevance | path

Searched refs:mNumChannels (Results 1 – 2 of 2) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DWaveScopeView.java38 private int mNumChannels = 2; field in WaveScopeView
59 mNumChannels = numChans; in setPCM16Buff()
71 mNumChannels = numChans; in setPCMFloatBuff()
173 float yOffset = height / (2.0f * mNumChannels); in onDraw()
174 float yDelta = height / (float) mNumChannels; in onDraw()
175 for(int channel = 0; channel < mNumChannels; channel++) { in onDraw()
176 drawChannel16(canvas, mPCM16Buffer, mNumFrames, mNumChannels, channel, yOffset); in onDraw()
180 float yOffset = height / (2.0f * mNumChannels); in onDraw()
181 float yDelta = height / (float) mNumChannels; in onDraw()
182 for(int channel = 0; channel < mNumChannels; channel++) { in onDraw()
[all …]
DStreamRecorder.java37 private int mNumChannels; field in StreamRecorder
99 public int getNumChannels() { return mNumChannels; } in getNumChannels()
120 mNumChannels = numChans; in open_internal()
124 AudioUtils.calcFrameSizeInBytes(AudioFormat.ENCODING_PCM_FLOAT, mNumChannels); in open_internal()
159 mBurstBuffer = new float[mNumBurstFrames * mNumChannels]; in open()
213 final int numBurstSamples = mNumBurstFrames * mNumChannels; in run()