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.cpp485 audio_config_t lConfig; in open() local
487 lConfig = AUDIO_CONFIG_INITIALIZER; in open()
488 lConfig.sample_rate = mSamplingRate; in open()
489 lConfig.channel_mask = mChannelMask; in open()
490 lConfig.format = mFormat; in open()
492 lConfig = *config; in open()
498 lConfig.offload_info.format == AUDIO_FORMAT_DEFAULT) { in open()
500 lConfig.offload_info = AUDIO_INFO_INITIALIZER; in open()
501 lConfig.offload_info.sample_rate = lConfig.sample_rate; in open()
502 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.cpp2223 audio_config_t lConfig = AUDIO_CONFIG_INITIALIZER; in getInputForDevice() local
2224 lConfig.sample_rate = profileSamplingRate; in getInputForDevice()
2225 lConfig.channel_mask = profileChannelMask; in getInputForDevice()
2226 lConfig.format = profileFormat; in getInputForDevice()
2228 status_t status = inputDesc->open(&lConfig, device, halInputSource, profileFlags, &input); in getInputForDevice()
2232 (profileSamplingRate != lConfig.sample_rate) || in getInputForDevice()
2233 !audio_formats_match(profileFormat, lConfig.format) || in getInputForDevice()
2234 (profileChannelMask != lConfig.channel_mask)) { in getInputForDevice()