Home
last modified time | relevance | path

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

/base/web/webview/test/fuzztest/ohos_adapter/audio_adapter/audiocreaterender_fuzzer/
Daudiocreaterender_fuzzer.cpp31 AudioAdapterRendererOptions rendererOptions; in DoSomethingInterestingWithMyAPI() local
32 rendererOptions.samplingRate = AudioAdapterSamplingRate::SAMPLE_RATE_44100; in DoSomethingInterestingWithMyAPI()
33 rendererOptions.encoding = AudioAdapterEncodingType::ENCODING_PCM; in DoSomethingInterestingWithMyAPI()
34 rendererOptions.format = AudioAdapterSampleFormat::SAMPLE_S16LE; in DoSomethingInterestingWithMyAPI()
35 rendererOptions.channels = AudioAdapterChannel::STEREO; in DoSomethingInterestingWithMyAPI()
36 rendererOptions.contentType = AudioAdapterContentType::CONTENT_TYPE_MUSIC; in DoSomethingInterestingWithMyAPI()
37 rendererOptions.streamUsage = AudioAdapterStreamUsage::STREAM_USAGE_MEDIA; in DoSomethingInterestingWithMyAPI()
38 rendererOptions.rendererFlags = 0; in DoSomethingInterestingWithMyAPI()
41 adapter.Create(rendererOptions, cachePath); in DoSomethingInterestingWithMyAPI()
/base/web/webview/test/unittest/audio_adapter_impl_test/
Daudio_adapter_impl_test.cpp134 AudioAdapterRendererOptions rendererOptions; variable
135 rendererOptions.samplingRate = AudioAdapterSamplingRate::SAMPLE_RATE_44100;
136 rendererOptions.encoding = AudioAdapterEncodingType::ENCODING_PCM;
137 rendererOptions.format = AudioAdapterSampleFormat::SAMPLE_S16LE;
138 rendererOptions.channels = AudioAdapterChannel::STEREO;
139 rendererOptions.contentType = AudioAdapterContentType::CONTENT_TYPE_MUSIC;
140 rendererOptions.streamUsage = AudioAdapterStreamUsage::STREAM_USAGE_MEDIA;
141 rendererOptions.rendererFlags = 0;
142 int32_t retNum = g_audioRender->Create(rendererOptions, CACHE_PATH);
464 AudioAdapterRendererOptions rendererOptions; variable
[all …]
/base/telephony/call_manager/services/audio/src/
Daudio_player.cpp67 AudioStandard::AudioRendererOptions rendererOptions; in InitRenderer() local
68 rendererOptions.streamInfo.samplingRate = AudioStandard::AudioSamplingRate::SAMPLE_RATE_96000; in InitRenderer()
69 rendererOptions.streamInfo.encoding = AudioStandard::AudioEncodingType::ENCODING_PCM; in InitRenderer()
70 rendererOptions.streamInfo.format = AudioStandard::AudioSampleFormat::SAMPLE_U8; in InitRenderer()
71 rendererOptions.streamInfo.channels = AudioStandard::AudioChannel::MONO; in InitRenderer()
72 rendererOptions.rendererInfo.contentType = AudioStandard::ContentType::CONTENT_TYPE_SPEECH; in InitRenderer()
73rendererOptions.rendererInfo.streamUsage = AudioStandard::StreamUsage::STREAM_USAGE_VOICE_MODEM_CO… in InitRenderer()
74 rendererOptions.rendererInfo.rendererFlags = RENDERER_FLAG; in InitRenderer()
75 audioRenderer_ = AudioStandard::AudioRenderer::Create(rendererOptions); in InitRenderer()
/base/web/webview/ohos_adapter/audio_adapter/src/
Daudio_renderer_adapter_impl.cpp127 int32_t AudioRendererAdapterImpl::Create(const AudioAdapterRendererOptions &rendererOptions, in Create() argument
146 audioOptions.streamInfo.samplingRate = GetAudioSamplingRate(rendererOptions.samplingRate); in Create()
147 audioOptions.streamInfo.encoding = GetAudioEncodingType(rendererOptions.encoding); in Create()
148 audioOptions.streamInfo.format = GetAudioSampleFormat(rendererOptions.format); in Create()
149 audioOptions.streamInfo.channels = GetAudioChannel(rendererOptions.channels); in Create()
150 audioOptions.rendererInfo.contentType = GetAudioContentType(rendererOptions.contentType); in Create()
151 audioOptions.rendererInfo.streamUsage = GetAudioStreamUsage(rendererOptions.streamUsage); in Create()
152 audioOptions.rendererInfo.rendererFlags = rendererOptions.rendererFlags; in Create()
/base/web/webview/ohos_adapter/audio_adapter/include/
Daudio_capturer_adapter_impl.h45 int32_t Create(const AudioAdapterCapturerOptions &rendererOptions,
Daudio_renderer_adapter_impl.h50 int32_t Create(const AudioAdapterRendererOptions &rendererOptions,
/base/web/webview/ohos_adapter/interfaces/
Daudio_renderer_adapter.h112 virtual int32_t Create(const AudioAdapterRendererOptions &rendererOptions,