Searched refs:mAudioRecord (Results 1 - 2 of 2) sorted by relevance

/packages/apps/SpeechRecorder/src/com/android/speechrecorder/
H A DMicrophoneInputStream.java37 private final AudioRecord mAudioRecord; field in class:MicrophoneInputStream
45 mAudioRecord = createAudioRecord();
66 mAudioRecord.startRecording();
68 int recordingState = mAudioRecord.getRecordingState();
84 final int ret = mAudioRecord.read(b, offset, length);
95 mAudioRecord.stop();
96 mAudioRecord.release();
/packages/apps/FMRadio/src/com/android/fmradio/
H A DFmService.java391 if (mAudioRecord != null) {
392 mAudioRecord.stop();
393 mAudioRecord.release();
394 mAudioRecord = null;
428 private AudioRecord mAudioRecord = null; field in class:FmService
473 if (mAudioRecord.getRecordingState() == AudioRecord.RECORDSTATE_STOPPED) {
474 mAudioRecord.startRecording();
480 int size = mAudioRecord.read(buffer, 0, RECORD_BUF_SIZE);
507 if (mAudioRecord.getRecordingState() == AudioRecord.RECORDSTATE_RECORDING) {
508 mAudioRecord
[all...]

Completed in 259 milliseconds