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

/frameworks/base/core/java/android/speech/srec/
H A DMicrophoneInputStream.java37 private long 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/wilhelm/src/android/
H A DAudioRecorder_to_android.cpp64 // (ap->mAudioRecord is supposed to be 0 until then)
322 ar->mAudioRecord.clear();
409 ar->mAudioRecord = new android::AudioRecord();
410 ar->mAudioRecord->set(ar->mRecordSource, // source
426 if (android::NO_ERROR != ar->mAudioRecord->initCheck()) {
458 if (ar->mAudioRecord != 0) {
459 ar->mAudioRecord->stop();
460 ar->mAudioRecord.clear();
463 ar->mAudioRecord.~sp();
479 if (ar->mAudioRecord
[all...]
/frameworks/av/include/media/
H A DAudioRecord.h503 sp<IAudioRecord> mAudioRecord; member in class:android::AudioRecord
525 DeathNotifier(AudioRecord* audioRecord) : mAudioRecord(audioRecord) { }
529 const wp<AudioRecord> mAudioRecord; member in class:android::AudioRecord::DeathNotifier
/frameworks/base/media/java/android/media/
H A DAudioRecord.java863 private final AudioRecord mAudioRecord; field in class:AudioRecord.NativeEventHandler
867 mAudioRecord = recorder;
874 listener = mAudioRecord.mPositionListener;
880 listener.onMarkerReached(mAudioRecord);
885 listener.onPeriodicNotification(mAudioRecord);
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp110 mAudioRecord->asBinder()->unlinkToDeath(mDeathNotifier, this);
111 mAudioRecord.clear();
164 // invariant that mAudioRecord != 0 is true only after set() returns successfully
165 if (mAudioRecord != 0) {
289 ALOGV("mAudioRecord->start()");
290 status = mAudioRecord->start(event, triggerSession);
325 mAudioRecord->stop();
526 // invariant that mAudioRecord != 0 is true only after set() returns successfully
527 if (mAudioRecord != 0) {
528 mAudioRecord
[all...]
/frameworks/wilhelm/src/
H A Dclasses.h155 android::sp<android::AudioRecord> mAudioRecord; member in struct:CAudioRecorder_struct
/frameworks/wilhelm/src/itf/
H A DIEngine.c459 (void) new (&thiz->mAudioRecord) android::sp<android::AudioRecord>();

Completed in 332 milliseconds