Home
last modified time | relevance | path

Searched refs:lpRecorder (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp208 sp<AudioRecord> lpRecorder = 0; in android_media_AudioRecord_setup() local
266 lpRecorder = new AudioRecord(String16(opPackageNameStr.c_str())); in android_media_AudioRecord_setup()
292 const status_t status = lpRecorder->set(paa->source, in android_media_AudioRecord_setup()
313 lpRecorder = (AudioRecord*)nativeRecordInJavaObj; in android_media_AudioRecord_setup()
341 nSession[0] = lpRecorder->getSessionId(); in android_media_AudioRecord_setup()
346 const jint elements[1] = { (jint) lpRecorder->getSampleRate() }; in android_media_AudioRecord_setup()
356 setAudioRecord(env, thiz, lpRecorder); in android_media_AudioRecord_setup()
381 sp<AudioRecord> lpRecorder = getAudioRecord(env, thiz); in android_media_AudioRecord_start() local
382 if (lpRecorder == NULL ) { in android_media_AudioRecord_start()
388 lpRecorder->start((AudioSystem::sync_event_t)event, (audio_session_t) triggerSession)); in android_media_AudioRecord_start()
[all …]