Home
last modified time | relevance | path

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

/base/web/webview/ohos_adapter/audio_adapter/src/
Daudio_renderer_adapter_impl.cpp145 AudioRendererOptions audioOptions; in Create() local
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()
154 audio_renderer_ = AudioRenderer::Create(audioCachePath, audioOptions); in Create()