Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
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()
248 mSamplingRate = lConfig.sample_rate; in open()
249 mChannelMask = lConfig.channel_mask; in open()
250 mFormat = lConfig.format; in open()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp3125 audio_config_t lConfig = AUDIO_CONFIG_INITIALIZER; in getInputForDevice() local
3126 lConfig.sample_rate = profileSamplingRate; in getInputForDevice()
3127 lConfig.channel_mask = profileChannelMask; in getInputForDevice()
3128 lConfig.format = profileFormat; in getInputForDevice()
3130 status_t status = inputDesc->open(&lConfig, device, halInputSource, profileFlags, &input); in getInputForDevice()
3134 (profileSamplingRate != lConfig.sample_rate) || in getInputForDevice()
3135 !audio_formats_match(profileFormat, lConfig.format) || in getInputForDevice()
3136 (profileChannelMask != lConfig.channel_mask)) { in getInputForDevice()