Home
last modified time | relevance | path

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

/base/telephony/call_manager/services/audio/src/
Daudio_player.cpp96 AudioStandard::AudioCapturerOptions capturerOptions; in InitCapturer() local
97 capturerOptions.streamInfo.samplingRate = AudioStandard::AudioSamplingRate::SAMPLE_RATE_96000; in InitCapturer()
98 capturerOptions.streamInfo.encoding = AudioStandard::AudioEncodingType::ENCODING_PCM; in InitCapturer()
99 capturerOptions.streamInfo.format = AudioStandard::AudioSampleFormat::SAMPLE_U8; in InitCapturer()
100 capturerOptions.streamInfo.channels = AudioStandard::AudioChannel::MONO; in InitCapturer()
101capturerOptions.capturerInfo.sourceType = AudioStandard::SourceType::SOURCE_TYPE_VOICE_MODEM_COMMU… in InitCapturer()
102 capturerOptions.capturerInfo.capturerFlags = CAPTURER_FLAG; in InitCapturer()
103 audioCapturer_ = AudioStandard::AudioCapturer::Create(capturerOptions); in InitCapturer()
/base/web/webview/ohos_adapter/audio_adapter/src/
Daudio_capturer_adapter_impl.cpp88 int32_t AudioCapturerAdapterImpl::Create(const AudioAdapterCapturerOptions &capturerOptions, in Create() argument
107 options.streamInfo.samplingRate = GetAudioSamplingRate(capturerOptions.samplingRate); in Create()
108 options.streamInfo.encoding = GetAudioEncodingType(capturerOptions.encoding); in Create()
109 options.streamInfo.format = GetAudioSampleFormat(capturerOptions.format); in Create()
110 options.streamInfo.channels = GetAudioChannel(capturerOptions.channels); in Create()
111 options.capturerInfo.sourceType = GetAudioSourceType(capturerOptions.sourceType); in Create()
112 options.capturerInfo.capturerFlags = capturerOptions.capturerFlags; in Create()
/base/web/webview/test/unittest/audio_adapter_impl_test/
Daudio_adapter_impl_test.cpp622 AudioAdapterCapturerOptions capturerOptions; variable
623 capturerOptions.samplingRate = AudioAdapterSamplingRate::SAMPLE_RATE_48000;
624 capturerOptions.encoding = AudioAdapterEncodingType::ENCODING_PCM;
625 capturerOptions.format = AudioAdapterSampleFormat::SAMPLE_S16LE;
626 capturerOptions.channels = AudioAdapterChannel::STEREO;
627 capturerOptions.sourceType = AudioAdapterSourceType::SOURCE_TYPE_VOICE_COMMUNICATION;
628 capturerOptions.capturerFlags = 0;
629 int32_t retNum = g_audioCapturer->Create(capturerOptions, CACHE_PATH);
850 AudioAdapterCapturerOptions capturerOptions; variable
851 capturerOptions.samplingRate = AudioAdapterSamplingRate::SAMPLE_RATE_48000;
[all …]
/base/web/webview/ohos_adapter/interfaces/
Daudio_capturer_adapter.h62 virtual int32_t Create(const AudioAdapterCapturerOptions &capturerOptions,