Searched refs:mAudioShortArray (Results 1 – 7 of 7) 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 | 104 private short[] mAudioShortArray; field in AudioAEC.RmsHelper 116 mAudioShortArray = new short[mBlockSize]; in reset() 145 pipe.read(mAudioShortArray, 0, mBlockSize); in updateRms() 150 float value = mAudioShortArray[i] / MAX_VAL; in updateRms()
|
D | AudioFrequencySpeakerActivity.java | 75 private short[] mAudioShortArray; field in AudioFrequencySpeakerActivity 606 mAudioShortArray = new short[mMinRecordBufferSizeInSamples]; in initRecord() 706 nSamplesRead = mRecorder.read(mAudioShortArray, 0, mMinRecordBufferSizeInSamples); in run() 708 mPipe.write(mAudioShortArray, 0, nSamplesRead); in run()
|
D | AudioFrequencyLineActivity.java | 75 private short[] mAudioShortArray; field in AudioFrequencyLineActivity 584 mAudioShortArray = new short[mMinRecordBufferSizeInSamples]; in initRecord() 683 nSamplesRead = mRecorder.read(mAudioShortArray, 0, mMinRecordBufferSizeInSamples); in run() 685 mPipe.write(mAudioShortArray, 0, nSamplesRead); in run()
|
D | AudioFrequencyMicActivity.java | 98 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()
|
D | AudioFrequencyUnprocessedActivity.java | 116 private short[] mAudioShortArray; field in AudioFrequencyUnprocessedActivity 1045 mAudioShortArray = new short[mMinRecordBufferSizeInSamples]; in initRecord() 1158 int nSamplesRead = mRecorder.read(mAudioShortArray, 0, mMinRecordBufferSizeInSamples); in run() 1160 mPipe.write(mAudioShortArray, 0, nSamplesRead); in run()
|