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.cpp395 audio_config_t lConfig; in open() local
397 lConfig = AUDIO_CONFIG_INITIALIZER; in open()
398 lConfig.sample_rate = mSamplingRate; in open()
399 lConfig.channel_mask = mChannelMask; in open()
400 lConfig.format = mFormat; in open()
402 lConfig = *config; in open()
409 lConfig.offload_info.format == AUDIO_FORMAT_DEFAULT) { in open()
411 lConfig.offload_info = AUDIO_INFO_INITIALIZER; in open()
412 lConfig.offload_info.sample_rate = lConfig.sample_rate; in open()
413 lConfig.offload_info.channel_mask = lConfig.channel_mask; in open()
[all …]
DAudioInputDescriptor.cpp199 audio_config_t lConfig; in open() local
201 lConfig = AUDIO_CONFIG_INITIALIZER; in open()
202 lConfig.sample_rate = mSamplingRate; in open()
203 lConfig.channel_mask = mChannelMask; in open()
204 lConfig.format = mFormat; in open()
206 lConfig = *config; in open()
216 &lConfig, in open()
229 mSamplingRate = lConfig.sample_rate; in open()
230 mChannelMask = lConfig.channel_mask; in open()
231 mFormat = lConfig.format; in open()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1772 audio_config_t lConfig = AUDIO_CONFIG_INITIALIZER; in getInputForDevice() local
1773 lConfig.sample_rate = profileSamplingRate; in getInputForDevice()
1774 lConfig.channel_mask = profileChannelMask; in getInputForDevice()
1775 lConfig.format = profileFormat; in getInputForDevice()
1783 status_t status = inputDesc->open(&lConfig, device, address, in getInputForDevice()
1788 (profileSamplingRate != lConfig.sample_rate) || in getInputForDevice()
1789 !audio_formats_match(profileFormat, lConfig.format) || in getInputForDevice()
1790 (profileChannelMask != lConfig.channel_mask)) { in getInputForDevice()