Searched refs:mAudioShortArray (Results 1 – 6 of 6) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | SoundRecorderObject.java | 31 private short[] mAudioShortArray; field in SoundRecorderObject 123 mAudioShortArray = new short[mMinRecordBufferSizeInSamples]; in initRecord() 169 int nSamplesRead = mRecorder.read(mAudioShortArray, 0, mMinRecordBufferSizeInSamples); in run() 171 mPipe.write(mAudioShortArray, 0, nSamplesRead); in run()
|
D | SoundPlayerObject.java | 50 private short[] mAudioShortArray; field in SoundPlayerObject 132 mDecoderPipe.read(mAudioShortArray, 0, valuesOfInterest); in run() 134 mAudioTrack.write(mAudioShortArray, 0, valuesOfInterest); in run() 195 mAudioShortArray.length; i += bytesPerSample) { in run() 208 mAudioShortArray[index] = sValue; in run() 211 mDecoderPipe.write(mAudioShortArray, 0, index); in run() 212 mPipe.write(mAudioShortArray, 0, index); in run() 404 mAudioShortArray = new short[mMinBufferSizeInSamples * 100]; in setSoundWithResId()
|
D | AudioAEC.java | 86 private short[] mAudioShortArray; field in AudioAEC.RmsHelper 98 mAudioShortArray = new short[mBlockSize]; in reset() 127 pipe.read(mAudioShortArray, 0, mBlockSize); in updateRms() 132 float value = mAudioShortArray[i] / MAX_VAL; in updateRms()
|
D | AudioFrequencyLineActivity.java | 66 private short[] mAudioShortArray; field in AudioFrequencyLineActivity 572 mAudioShortArray = new short[mMinRecordBufferSizeInSamples]; in initRecord() 671 nSamplesRead = mRecorder.read(mAudioShortArray, 0, mMinRecordBufferSizeInSamples); in run() 673 mPipe.write(mAudioShortArray, 0, nSamplesRead); in run()
|
D | AudioFrequencySpeakerActivity.java | 73 private short[] mAudioShortArray; field in AudioFrequencySpeakerActivity 599 mAudioShortArray = new short[mMinRecordBufferSizeInSamples]; in initRecord() 699 nSamplesRead = mRecorder.read(mAudioShortArray, 0, mMinRecordBufferSizeInSamples); in run() 701 mPipe.write(mAudioShortArray, 0, nSamplesRead); in run()
|
D | AudioFrequencyMicActivity.java | 99 private short[] mAudioShortArray; field in AudioFrequencyMicActivity 813 mAudioShortArray = new short[mMinRecordBufferSizeInSamples]; in initRecord() 903 int nSamplesRead = mRecorder.read(mAudioShortArray, 0, mMinRecordBufferSizeInSamples); in run() 905 mPipe.write(mAudioShortArray, 0, nSamplesRead); in run()
|