Searched refs:mAudioRecord (Results 1 – 2 of 2) sorted by relevance
37 private final AudioRecord mAudioRecord; field in MicrophoneInputStream45 mAudioRecord = createAudioRecord(); in MicrophoneInputStream()66 mAudioRecord.startRecording(); in maybeStartRecording()68 int recordingState = mAudioRecord.getRecordingState(); in maybeStartRecording()84 final int ret = mAudioRecord.read(b, offset, length); in read()95 mAudioRecord.stop(); in close()96 mAudioRecord.release(); in close()
391 if (mAudioRecord != null) { in startRender()392 mAudioRecord.stop(); in startRender()393 mAudioRecord.release(); in startRender()394 mAudioRecord = null; in startRender()428 private AudioRecord mAudioRecord = null; field in FmService473 if (mAudioRecord.getRecordingState() == AudioRecord.RECORDSTATE_STOPPED) { in run()474 mAudioRecord.startRecording(); in run()480 int size = mAudioRecord.read(buffer, 0, RECORD_BUF_SIZE); in run()507 if (mAudioRecord.getRecordingState() == AudioRecord.RECORDSTATE_RECORDING) { in run()508 mAudioRecord.stop(); in run()[all …]