Searched refs:mRecord (Results 1 – 2 of 2) sorted by relevance
115 private AudioRecord mRecord; field in LoopbackExperiment.Recorder136 mRecord = new AudioRecord(MediaRecorder.AudioSource.VOICE_RECOGNITION, in run()139 if (mRecord.getState() != AudioRecord.STATE_INITIALIZED) { in run()143 mRecord.startRecording(); in run()144 if (mRecord.getRecordingState() != AudioRecord.RECORDSTATE_RECORDING) { in run()151 mRecord.stop(); in run()152 mRecord.release(); in run()153 mRecord = null; in run()162 bytes = mRecord.read(mBuffer, position, totalBytes - position); in captureLoop()
149 private AudioRecord mRecord; field in CalibrateVolumeActivity.Monitor164 mRecord = new AudioRecord(MediaRecorder.AudioSource.VOICE_RECOGNITION, in Monitor()167 if (mRecord.getState() != AudioRecord.STATE_INITIALIZED) { in Monitor()171 mRecord.startRecording(); in Monitor()172 if (mRecord.getRecordingState() != AudioRecord.RECORDSTATE_RECORDING) { in Monitor()190 mRecord.stop(); in run()191 mRecord.release(); in run()194 bytes = mRecord.read(mBuffer, 0, maxBytes); in run()