Searched refs:lConfig (Results 1 – 3 of 3) sorted by relevance
507 audio_config_t lConfig; in open() local509 lConfig = AUDIO_CONFIG_INITIALIZER; in open()510 lConfig.sample_rate = mSamplingRate; in open()511 lConfig.channel_mask = mChannelMask; in open()512 lConfig.format = mFormat; in open()514 lConfig = *config; in open()520 lConfig.offload_info.format == AUDIO_FORMAT_DEFAULT) { in open()522 lConfig.offload_info = AUDIO_INFO_INITIALIZER; in open()523 lConfig.offload_info.sample_rate = lConfig.sample_rate; in open()524 lConfig.offload_info.channel_mask = lConfig.channel_mask; in open()[all …]
215 audio_config_t lConfig; in open() local217 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()
2405 audio_config_t lConfig = AUDIO_CONFIG_INITIALIZER; in getInputForDevice() local2406 lConfig.sample_rate = profileSamplingRate; in getInputForDevice()2407 lConfig.channel_mask = profileChannelMask; in getInputForDevice()2408 lConfig.format = profileFormat; in getInputForDevice()2410 status_t status = inputDesc->open(&lConfig, device, halInputSource, profileFlags, &input); in getInputForDevice()2414 (profileSamplingRate != lConfig.sample_rate) || in getInputForDevice()2415 !audio_formats_match(profileFormat, lConfig.format) || in getInputForDevice()2416 (profileChannelMask != lConfig.channel_mask)) { in getInputForDevice()