Searched refs:mAudioRecord (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/speech/srec/ |
D | MicrophoneInputStream.java | 37 private int mAudioRecord = 0; field in MicrophoneInputStream 47 mAudioRecord = AudioRecordNew(sampleRate, fifoDepth); in MicrophoneInputStream() 48 if (mAudioRecord == 0) throw new IOException("AudioRecord constructor failed - busy?"); in MicrophoneInputStream() 49 int status = AudioRecordStart(mAudioRecord); in MicrophoneInputStream() 58 if (mAudioRecord == 0) throw new IllegalStateException("not open"); in read() 59 int rtn = AudioRecordRead(mAudioRecord, mOneByte, 0, 1); in read() 65 if (mAudioRecord == 0) throw new IllegalStateException("not open"); in read() 66 return AudioRecordRead(mAudioRecord, b, 0, b.length); in read() 71 if (mAudioRecord == 0) throw new IllegalStateException("not open"); in read() 73 return AudioRecordRead(mAudioRecord, b, offset, length); in read() [all …]
|
/frameworks/wilhelm/src/android/ |
D | AudioRecorder_to_android.cpp | 314 ar->mAudioRecord = NULL; in android_audioRecorder_create() 397 ar->mAudioRecord = new android::AudioRecord(); in android_audioRecorder_realize() 398 ar->mAudioRecord->set(ar->mRecordSource, // source in android_audioRecorder_realize() 411 if (android::NO_ERROR != ar->mAudioRecord->initCheck()) { in android_audioRecorder_realize() 430 if (NULL != ar->mAudioRecord) { in android_audioRecorder_destroy() 431 ar->mAudioRecord->stop(); in android_audioRecorder_destroy() 432 delete ar->mAudioRecord; in android_audioRecorder_destroy() 433 ar->mAudioRecord = NULL; in android_audioRecorder_destroy() 449 if (NULL == ar->mAudioRecord) { in android_audioRecorder_setRecordState() 455 ar->mAudioRecord->stop(); in android_audioRecorder_setRecordState() [all …]
|
/frameworks/av/media/libmedia/ |
D | AudioRecord.cpp | 115 mAudioRecord.clear(); in ~AudioRecord() 139 if (mAudioRecord != 0) { in set() 301 sp<IAudioRecord> audioRecord = mAudioRecord; in start() 325 ret = mAudioRecord->start(event, triggerSession); in start() 370 mAudioRecord->stop(); in stop() 487 mAudioRecord.clear(); in openRecord_l() 488 mAudioRecord = record; in openRecord_l() 546 result = mAudioRecord->start(AudioSystem::SYNC_EVENT_SAME, 0); in obtainBuffer() 644 sp<IAudioRecord> audioRecord = mAudioRecord; in read() 690 sp<IAudioRecord> audioRecord = mAudioRecord; in processAudioBuffer() [all …]
|
/frameworks/base/media/java/android/media/ |
D | AudioRecord.java | 742 private final AudioRecord mAudioRecord; field in AudioRecord.NativeEventHandler 746 mAudioRecord = recorder; in NativeEventHandler() 753 listener = mAudioRecord.mPositionListener; in handleMessage() 759 listener.onMarkerReached(mAudioRecord); in handleMessage() 764 listener.onPeriodicNotification(mAudioRecord); in handleMessage()
|
/frameworks/av/include/media/ |
D | AudioRecord.h | 366 sp<IAudioRecord> mAudioRecord; variable
|
/frameworks/wilhelm/src/ |
D | classes.h | 151 android::AudioRecord *mAudioRecord; //FIXME candidate to be encapsulated in a ARecorder subclass member
|
/frameworks/wilhelm/src/itf/ |
D | IEngine.c | 452 thiz->mAudioRecord = NULL; in IEngine_CreateAudioRecorder()
|