Searched refs:pcmCapturerObject (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/opensles/test/example/ |
H A D | audio_opensles_recorder_test.cpp | 54 SLObjectItf pcmCapturerObject = nullptr; variable 140 (*engineItf)->CreateAudioRecorder(engineItf, &pcmCapturerObject, in OpenSLESCaptureTest() 142 (*pcmCapturerObject)->Realize(pcmCapturerObject, SL_BOOLEAN_FALSE); in OpenSLESCaptureTest() 144 (*pcmCapturerObject)->GetInterface(pcmCapturerObject, SL_IID_RECORD, &recordItf); in OpenSLESCaptureTest() 145 (*pcmCapturerObject)->GetInterface(pcmCapturerObject, SL_IID_OH_BUFFERQUEUE, &bufferQueueItf); in OpenSLESCaptureTest() 193 (*pcmCapturerObject)->Destroy(pcmCapturerObject); in CaptureStop()
|
/ohos5.0/docs/zh-cn/application-dev/media/audio/ |
H A D | using-opensl-es-for-recording.md | 90 4. 配置录音器信息(配置输入源audiosource、输出源audiosink),创建录音对象pcmCapturerObject。 122 SLObjectItf pcmCapturerObject = nullptr; 123 (*engineItf)->CreateAudioRecorder(engineItf, &pcmCapturerObject, 125 (*pcmCapturerObject)->Realize(pcmCapturerObject, SL_BOOLEAN_FALSE); 132 (*pcmCapturerObject)->GetInterface(pcmCapturerObject, SL_IID_RECORD, &recordItf); 139 (*pcmCapturerObject)->GetInterface(pcmCapturerObject, SL_IID_OH_BUFFERQUEUE, &bufferQueueItf); 170 (*pcmCapturerObject)->Destroy(pcmCapturerObject);
|
/ohos5.0/docs/en/application-dev/media/audio/ |
H A D | using-opensl-es-for-recording.md | 90 …urce **audiosource** and output source **audiosink**), and create a **pcmCapturerObject** instance. 122 SLObjectItf pcmCapturerObject = nullptr; 123 (*engineItf)->CreateAudioRecorder(engineItf, &pcmCapturerObject, 125 (*pcmCapturerObject)->Realize(pcmCapturerObject, SL_BOOLEAN_FALSE); 133 (*pcmCapturerObject)->GetInterface(pcmCapturerObject, SL_IID_RECORD, &recordItf); 140 (*pcmCapturerObject)->GetInterface(pcmCapturerObject, SL_IID_OH_BUFFERQUEUE, &bufferQueueItf); 171 (*pcmCapturerObject)->Destroy(pcmCapturerObject);
|