Searched refs:rendererOptions (Results 1 – 7 of 7) sorted by relevance
31 AudioAdapterRendererOptions rendererOptions; in DoSomethingInterestingWithMyAPI() local32 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()
134 AudioAdapterRendererOptions rendererOptions; variable135 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 …]
67 AudioStandard::AudioRendererOptions rendererOptions; in InitRenderer() local68 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()73 …rendererOptions.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()
127 int32_t AudioRendererAdapterImpl::Create(const AudioAdapterRendererOptions &rendererOptions, in Create() argument146 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()
45 int32_t Create(const AudioAdapterCapturerOptions &rendererOptions,
50 int32_t Create(const AudioAdapterRendererOptions &rendererOptions,
112 virtual int32_t Create(const AudioAdapterRendererOptions &rendererOptions,