Searched refs:record2 (Results 1 – 2 of 2) sorted by relevance
175 AudioRecord record2 = null; in testCapturesMatch() local204 record2 = new AudioRecord.Builder().setAudioFormat(new AudioFormat.Builder() in testCapturesMatch()212 assertEquals(AudioRecord.STATE_INITIALIZED, record2.getState()); in testCapturesMatch()214 record2.startRecording(); in testCapturesMatch()219 samplesRead = record2.read(buffer2, 0, RECORD2_NUM_SAMPLES); in testCapturesMatch()222 record2.stop(); in testCapturesMatch()266 if (record2 != null) { in testCapturesMatch()267 record2.release(); in testCapturesMatch()
664 final AudioRecord record2 = new AudioRecord.Builder() in testAudioRecordBufferSize() local668 final int observedState2 = record2.getState(); in testAudioRecordBufferSize()669 final int observedBufferSize2 = record2.getBufferSizeInFrames(); in testAudioRecordBufferSize()670 record2.release(); in testAudioRecordBufferSize()