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 | 85 private short[] mAudioShortArray; field in AudioAEC.RmsHelper 97 mAudioShortArray = new short[mBlockSize]; in reset() 126 pipe.read(mAudioShortArray, 0, mBlockSize); in updateRms() 131 float value = mAudioShortArray[i] / MAX_VAL; in updateRms()
|
D | AudioFrequencySpeakerActivity.java | 83 private short[] mAudioShortArray; field in AudioFrequencySpeakerActivity 607 mAudioShortArray = new short[mMinRecordBufferSizeInSamples]; in initRecord() 707 nSamplesRead = mRecorder.read(mAudioShortArray, 0, mMinRecordBufferSizeInSamples); in run() 709 mPipe.write(mAudioShortArray, 0, nSamplesRead); in run()
|
D | AudioFrequencyLineActivity.java | 77 private short[] mAudioShortArray; field in AudioFrequencyLineActivity 589 mAudioShortArray = new short[mMinRecordBufferSizeInSamples]; in initRecord() 688 nSamplesRead = mRecorder.read(mAudioShortArray, 0, mMinRecordBufferSizeInSamples); in run() 690 mPipe.write(mAudioShortArray, 0, nSamplesRead); in run()
|
D | AudioFrequencyMicActivity.java | 113 private short[] mAudioShortArray; field in AudioFrequencyMicActivity 824 mAudioShortArray = new short[mMinRecordBufferSizeInSamples]; in initRecord() 914 int nSamplesRead = mRecorder.read(mAudioShortArray, 0, mMinRecordBufferSizeInSamples); in run() 916 mPipe.write(mAudioShortArray, 0, nSamplesRead); in run()
|
D | AudioFrequencyUnprocessedActivity.java | 120 private short[] mAudioShortArray; field in AudioFrequencyUnprocessedActivity 1043 mAudioShortArray = new short[mMinRecordBufferSizeInSamples]; in initRecord() 1156 int nSamplesRead = mRecorder.read(mAudioShortArray, 0, mMinRecordBufferSizeInSamples); in run() 1158 mPipe.write(mAudioShortArray, 0, nSamplesRead); in run()
|