Searched refs:mAudioRecord (Results 1 – 10 of 10) sorted by relevance
160 mAudioRecord = new AudioRecord( in open()163 mAudioRecord->set( in open()183 mAudioRecord->setCallerName(kCallerName); in open()186 status_t status = mAudioRecord->initCheck(); in open()194 bool gotFastPath = (mAudioRecord->getFlags() & AUDIO_INPUT_FLAG_FAST) in open()201 mAudioRecord.clear(); in open()209 + std::to_string(mAudioRecord->getPortId()); in open()212 setSamplesPerFrame(mAudioRecord->channelCount()); in open()214 int32_t actualSampleRate = mAudioRecord->getSampleRate(); in open()257 audio_input_flags_t actualFlags = mAudioRecord->getFlags(); in open()[all …]
82 android::sp<android::AudioRecord> mAudioRecord;
420 ar->mAudioRecord.clear(); in android_audioRecorder_create()614 audio_input_flags_t flags = ar->mAudioRecord->getFlags(); in checkAndSetPerformanceModePost()691 ar->mAudioRecord = new android::AudioRecord( in android_audioRecorder_realize()707 ar->mAudioRecord->setCallerName(ANDROID_OPENSLES_CALLER_NAME); in android_audioRecorder_realize()709 android::status_t status = ar->mAudioRecord->initCheck(); in android_audioRecorder_realize()715 ar->mAudioRecord.clear(); in android_audioRecorder_realize()734 ar->mAudioRecord.get()); in android_audioRecorder_realize()738 ar->mAudioRecord.clear(); in android_audioRecorder_realize()744 audio_session_t sessionId = ar->mAudioRecord->getSessionId(); in android_audioRecorder_realize()800 if (ar->mAudioRecord != 0) { in android_audioRecorder_destroy()[all …]
41 private AudioRecord mAudioRecord; field in ScreenInternalAudioRecorder107 mAudioRecord = new AudioRecord.Builder() in setupSimple()144 readShortsInternal = mAudioRecord.read(bufferInternal, 0, in setupSimple()155 readBytes = mAudioRecord.read(buffer, 0, buffer.length); in setupSimple()270 mAudioRecord.startRecording(); in start()272 Log.d(TAG, "channel count " + mAudioRecord.getChannelCount()); in start()274 if (mAudioRecord.getRecordingState() != AudioRecord.RECORDSTATE_RECORDING) { in start()284 mAudioRecord.stop(); in end()288 mAudioRecord.release(); in end()
195 IInterface::asBinder(mAudioRecord)->unlinkToDeath(mDeathNotifier, this); in ~AudioRecord()196 mAudioRecord.clear(); in ~AudioRecord()271 if (mAudioRecord != 0) { in set()443 status = mAudioRecord->start(event, triggerSession).transactionError(); in start()453 mAudioRecord->setPreferredMicrophoneDirection(mSelectedMicDirection); in start()454 mAudioRecord->setPreferredMicrophoneFieldDimension(mSelectedMicFieldDimension); in start()495 mAudioRecord->stop(); in stop()659 if (mAudioRecord != 0 && mActive) { in setInputDevice()660 mAudioRecord->stop(); in setInputDevice()869 if (mAudioRecord != 0) { in createRecord_l()[all …]
708 sp<media::IAudioRecord> mAudioRecord; variable734 DeathNotifier(AudioRecord* audioRecord) : mAudioRecord(audioRecord) { } in DeathNotifier()738 const wp<AudioRecord> mAudioRecord;
1927 private final AudioRecord mAudioRecord; field in AudioRecord.NativeEventHandler1931 mAudioRecord = recorder; in NativeEventHandler()1938 listener = mAudioRecord.mPositionListener; in handleMessage()1944 listener.onMarkerReached(mAudioRecord); in handleMessage()1949 listener.onPeriodicNotification(mAudioRecord); in handleMessage()
227 android::AudioRecord* pAudioRecord = ((CAudioRecorder*)configObj)->mAudioRecord.get(); in AllocRecorderRoutingProxy()
461 (void) new (&thiz->mAudioRecord) android::sp<android::AudioRecord>(); in IEngine_CreateAudioRecorder()
162 android::sp<android::AudioRecord> mAudioRecord; member