Searched refs:capturerOptions (Results 1 – 4 of 4) sorted by relevance
96 AudioStandard::AudioCapturerOptions capturerOptions; in InitCapturer() local97 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()101 …capturerOptions.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()
88 int32_t AudioCapturerAdapterImpl::Create(const AudioAdapterCapturerOptions &capturerOptions, in Create() argument107 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()
622 AudioAdapterCapturerOptions capturerOptions; variable623 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; variable851 capturerOptions.samplingRate = AudioAdapterSamplingRate::SAMPLE_RATE_48000;[all …]
62 virtual int32_t Create(const AudioAdapterCapturerOptions &capturerOptions,