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.cpp479 audio_config_t lConfig; in open() local
481 lConfig = AUDIO_CONFIG_INITIALIZER; in open()
482 lConfig.sample_rate = mSamplingRate; in open()
483 lConfig.channel_mask = mChannelMask; in open()
484 lConfig.format = mFormat; in open()
486 lConfig = *config; in open()
492 lConfig.offload_info.format == AUDIO_FORMAT_DEFAULT) { in open()
494 lConfig.offload_info = AUDIO_INFO_INITIALIZER; in open()
495 lConfig.offload_info.sample_rate = lConfig.sample_rate; in open()
496 lConfig.offload_info.channel_mask = lConfig.channel_mask; in open()
[all …]
DAudioInputDescriptor.cpp215 audio_config_t lConfig; in open() local
217 lConfig = AUDIO_CONFIG_INITIALIZER; in open()
218 lConfig.sample_rate = mSamplingRate; in open()
219 lConfig.channel_mask = mChannelMask; in open()
220 lConfig.format = mFormat; in open()
222 lConfig = *config; in open()
234 &lConfig, in open()
247 mSamplingRate = lConfig.sample_rate; in open()
248 mChannelMask = lConfig.channel_mask; in open()
249 mFormat = lConfig.format; in open()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp2170 audio_config_t lConfig = AUDIO_CONFIG_INITIALIZER; in getInputForDevice() local
2171 lConfig.sample_rate = profileSamplingRate; in getInputForDevice()
2172 lConfig.channel_mask = profileChannelMask; in getInputForDevice()
2173 lConfig.format = profileFormat; in getInputForDevice()
2175 status_t status = inputDesc->open(&lConfig, device, halInputSource, profileFlags, &input); in getInputForDevice()
2179 (profileSamplingRate != lConfig.sample_rate) || in getInputForDevice()
2180 !audio_formats_match(profileFormat, lConfig.format) || in getInputForDevice()
2181 (profileChannelMask != lConfig.channel_mask)) { in getInputForDevice()