Searched refs:minRecordBuffSizeInBytes (Results 1 – 5 of 5) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | SoundRecorderObject.java | 113 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()
|
D | AudioFrequencySpeakerActivity.java | 596 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()
|
D | AudioFrequencyLineActivity.java | 574 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()
|
D | AudioFrequencyMicActivity.java | 803 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()
|
D | AudioFrequencyUnprocessedActivity.java | 1035 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()
|