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.java597 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord() local
599 Log.v(TAG,"FrequencyAnalyzer: min buff size = " + minRecordBuffSizeInBytes + " bytes"); in initRecord()
600 if (minRecordBuffSizeInBytes <= 0) { in initRecord()
604 mMinRecordBufferSizeInSamples = minRecordBuffSizeInBytes / 2; in initRecord()
615 mChannelConfig, mAudioFormat, 2 * minRecordBuffSizeInBytes); in initRecord()
DAudioFrequencyLineActivity.java579 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord() local
581 Log.v(TAG,"FrequencyAnalyzer: min buff size = " + minRecordBuffSizeInBytes + " bytes"); in initRecord()
582 if (minRecordBuffSizeInBytes <= 0) { in initRecord()
586 mMinRecordBufferSizeInSamples = minRecordBuffSizeInBytes / 2; in initRecord()
597 mChannelConfig, mAudioFormat, 2 * minRecordBuffSizeInBytes); in initRecord()
DAudioFrequencyMicActivity.java814 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord() local
816 Log.v(TAG,"FrequencyAnalyzer: min buff size = " + minRecordBuffSizeInBytes + " bytes"); in initRecord()
817 if (minRecordBuffSizeInBytes <= 0) { in initRecord()
821 mMinRecordBufferSizeInSamples = minRecordBuffSizeInBytes / 2; in initRecord()
832 mChannelConfig, mAudioFormat, 2 * minRecordBuffSizeInBytes); in initRecord()
DAudioFrequencyUnprocessedActivity.java1033 int minRecordBuffSizeInBytes = AudioRecord.getMinBufferSize(mSamplingRate, in initRecord() local
1035 Log.v(TAG,"FrequencyAnalyzer: min buff size = " + minRecordBuffSizeInBytes + " bytes"); in initRecord()
1036 if (minRecordBuffSizeInBytes <= 0) { in initRecord()
1040 mMinRecordBufferSizeInSamples = minRecordBuffSizeInBytes / 2; in initRecord()
1051 mChannelConfig, mAudioFormat, 2 * minRecordBuffSizeInBytes); in initRecord()