Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp458 audio_config_t lConfig; in open() local
460 lConfig = AUDIO_CONFIG_INITIALIZER; in open()
461 lConfig.sample_rate = mSamplingRate; in open()
462 lConfig.channel_mask = mChannelMask; in open()
463 lConfig.format = mFormat; in open()
465 lConfig = *config; in open()
471 lConfig.offload_info.format == AUDIO_FORMAT_DEFAULT) { in open()
473 lConfig.offload_info = AUDIO_INFO_INITIALIZER; in open()
474 lConfig.offload_info.sample_rate = lConfig.sample_rate; in open()
475 lConfig.offload_info.channel_mask = lConfig.channel_mask; in open()
[all …]
DAudioInputDescriptor.cpp203 audio_config_t lConfig; in open() local
205 lConfig = AUDIO_CONFIG_INITIALIZER; in open()
206 lConfig.sample_rate = mSamplingRate; in open()
207 lConfig.channel_mask = mChannelMask; in open()
208 lConfig.format = mFormat; in open()
210 lConfig = *config; in open()
222 &lConfig, in open()
235 mSamplingRate = lConfig.sample_rate; in open()
236 mChannelMask = lConfig.channel_mask; in open()
237 mFormat = lConfig.format; in open()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp2186 audio_config_t lConfig = AUDIO_CONFIG_INITIALIZER; in getInputForDevice() local
2187 lConfig.sample_rate = profileSamplingRate; in getInputForDevice()
2188 lConfig.channel_mask = profileChannelMask; in getInputForDevice()
2189 lConfig.format = profileFormat; in getInputForDevice()
2191 status_t status = inputDesc->open(&lConfig, device, halInputSource, profileFlags, &input); in getInputForDevice()
2195 (profileSamplingRate != lConfig.sample_rate) || in getInputForDevice()
2196 !audio_formats_match(profileFormat, lConfig.format) || in getInputForDevice()
2197 (profileChannelMask != lConfig.channel_mask)) { in getInputForDevice()