Home
last modified time | relevance | path

Searched refs:minRecordBuffSizeInBytes (Results 1 – 5 of 5) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundRecorderObject.java113 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord() local
115 Log.v(TAG,"FrequencyAnalyzer: min buff size = " + minRecordBuffSizeInBytes + " bytes"); in initRecord()
116 if (minRecordBuffSizeInBytes <= 0) { in initRecord()
120 mMinRecordBufferSizeInSamples = minRecordBuffSizeInBytes / mBytesPerSample; in initRecord()
132 2 * minRecordBuffSizeInBytes /* double size for padding */); in initRecord()
DAudioFrequencySpeakerActivity.java596 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord() local
598 Log.v(TAG,"FrequencyAnalyzer: min buff size = " + minRecordBuffSizeInBytes + " bytes"); in initRecord()
599 if (minRecordBuffSizeInBytes <= 0) { in initRecord()
603 mMinRecordBufferSizeInSamples = minRecordBuffSizeInBytes / 2; in initRecord()
614 mChannelConfig, mAudioFormat, 2 * minRecordBuffSizeInBytes); in initRecord()
DAudioFrequencyLineActivity.java574 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord() local
576 Log.v(TAG,"FrequencyAnalyzer: min buff size = " + minRecordBuffSizeInBytes + " bytes"); in initRecord()
577 if (minRecordBuffSizeInBytes <= 0) { in initRecord()
581 mMinRecordBufferSizeInSamples = minRecordBuffSizeInBytes / 2; in initRecord()
592 mChannelConfig, mAudioFormat, 2 * minRecordBuffSizeInBytes); in initRecord()
DAudioFrequencyMicActivity.java803 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord() local
805 Log.v(TAG,"FrequencyAnalyzer: min buff size = " + minRecordBuffSizeInBytes + " bytes"); in initRecord()
806 if (minRecordBuffSizeInBytes <= 0) { in initRecord()
810 mMinRecordBufferSizeInSamples = minRecordBuffSizeInBytes / 2; in initRecord()
821 mChannelConfig, mAudioFormat, 2 * minRecordBuffSizeInBytes); in initRecord()
DAudioFrequencyUnprocessedActivity.java1035 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord() local
1037 Log.v(TAG,"FrequencyAnalyzer: min buff size = " + minRecordBuffSizeInBytes + " bytes"); in initRecord()
1038 if (minRecordBuffSizeInBytes <= 0) { in initRecord()
1042 mMinRecordBufferSizeInSamples = minRecordBuffSizeInBytes / 2; in initRecord()
1053 mChannelConfig, mAudioFormat, 2 * minRecordBuffSizeInBytes); in initRecord()