Searched defs:mAudioRecord (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/core/java/android/speech/srec/
H A DMicrophoneInputStream.java37 private int mAudioRecord = 0; field in class:MicrophoneInputStream
47 mAudioRecord = AudioRecordNew(sampleRate, fifoDepth);
48 if (mAudioRecord == 0) throw new IOException("AudioRecord constructor failed - busy?");
49 int status = AudioRecordStart(mAudioRecord);
58 if (mAudioRecord == 0) throw new IllegalStateException("not open");
59 int rtn = AudioRecordRead(mAudioRecord, mOneByte, 0, 1);
65 if (mAudioRecord == 0) throw new IllegalStateException("not open");
66 return AudioRecordRead(mAudioRecord, b, 0, b.length);
71 if (mAudioRecord == 0) throw new IllegalStateException("not open");
73 return AudioRecordRead(mAudioRecord,
[all...]
/frameworks/base/include/media/
H A DAudioRecord.h356 sp<IAudioRecord> mAudioRecord; member in class:android::AudioRecord
/frameworks/base/media/java/android/media/
H A DAudioRecord.java703 private final AudioRecord mAudioRecord; field in class:AudioRecord.NativeEventHandler
707 mAudioRecord = recorder;
714 listener = mAudioRecord.mPositionListener;
720 listener.onMarkerReached(mAudioRecord);
725 listener.onPeriodicNotification(mAudioRecord);

Completed in 830 milliseconds