Lines Matching refs:channel_mask

1238         .channel_mask = config->channel_mask,  in getOutputForAttrInt()
1268 && (audio_channel_count_from_out_mask(policyDesc->getConfig().channel_mask) < in getOutputForAttrInt()
1269 audio_channel_count_from_out_mask(config->channel_mask)); in getOutputForAttrInt()
1340 config->channel_mask, *flags, toString(*stream).c_str()); in getOutputForAttrInt()
1402 if (!channels.empty() && (channels.find(config->channel_mask) == channels.end())) { in getOutputForAttrInt()
1403 config->channel_mask = *channels.begin(); in getOutputForAttrInt()
1486 .channel_mask = config->channel_mask, in getOutputForAttr()
1521 audio_channel_count_from_out_mask(config->channel_mask) <= 2) { in openDirectOutput()
1535 devices, config->sample_rate, config->format, config->channel_mask, in openDirectOutput()
1551 (config->channel_mask == desc->getChannelMask()) && in openDirectOutput()
1599 (config->channel_mask != 0 && config->channel_mask != outputDesc->getChannelMask())) { in openDirectOutput()
1603 config->channel_mask, outputDesc->getChannelMask()); in openDirectOutput()
1644 ? static_cast<audio_channel_mask_t>(config->channel_mask & ~AUDIO_CHANNEL_HAPTIC_ALL) in getOutputForDevices()
1645 : config->channel_mask; in getOutputForDevices()
1698 directConfig.channel_mask = channelMask; in getOutputForDevices()
1734 config.channel_mask = prefMixerConfigInfo->getConfigBase().channel_mask; in getOutputForDevices()
1892 sinkConfig->channel_mask = bestSinkConfig.channel_mask; in getBestMsdConfig()
1907 sourceConfig->channel_mask = in getBestMsdConfig()
1908 audio_channel_mask_get_representation(bestSinkConfig.channel_mask) in getBestMsdConfig()
1910 bestSinkConfig.channel_mask : audio_channel_mask_out_to_in(bestSinkConfig.channel_mask); in getBestMsdConfig()
2022 p.patch()->sources[0].channel_mask, p.patch()->sources[0].sample_rate); in setMsdOutputPatches()
2298 config.channel_mask = info->getConfigBase().channel_mask; in startOutput()
2827 __func__, attr->source, config->sample_rate, config->format, config->channel_mask, in getInputForAttr()
2973 if (!channels.empty() && (channels.find(config->channel_mask) == channels.end())) { in getInputForAttr()
2974 config->channel_mask = *channels.begin(); in getInputForAttr()
3052 audio_channel_mask_t profileChannelMask = config->channel_mask; in getInputForDevice()
3127 lConfig.channel_mask = profileChannelMask; in getInputForDevice()
3136 (profileChannelMask != lConfig.channel_mask)) { in getInputForDevice()
3887 outputConfig.channel_mask = AUDIO_CHANNEL_OUT_STEREO; in registerPolicyMixes()
3888 inputConfig.channel_mask = AUDIO_CHANNEL_IN_STEREO; in registerPolicyMixes()
4545 __func__, offloadInfo.sample_rate, offloadInfo.channel_mask, in getOffloadSupport()
4559 offloadInfo.channel_mask, in getOffloadSupport()
4582 config.channel_mask, in isDirectOutputSupported()
4589 config.sample_rate, config.format, config.channel_mask, output_flags); in isDirectOutputSupported()
4596 config.channel_mask, in isDirectOutputSupported()
4603 config.sample_rate, config.format, config.channel_mask, output_flags); in isDirectOutputSupported()
4670 offloadInfo.channel_mask = config->channel_mask; in getDirectPlaybackSupport()
4700 config->channel_mask, nullptr /*updatedChannelMask*/, in getDirectPlaybackSupport()
4781 mixerAttributes->config.channel_mask, mixerAttributes->config.sample_rate, in setPreferredMixerAttributes()
4813 mixerAttributes->config.channel_mask, in setPreferredMixerAttributes()
4856 config.channel_mask = mixerAttributes->config.channel_mask; in setPreferredMixerAttributes()
5227 patch->sources[0].channel_mask, in createAudioPatchInternal()
5283 patch->sinks[0].channel_mask, in createAudioPatchInternal()
5363 audio_channel_mask_t sourceMask = sourceDesc->config().channel_mask; in createAudioPatchInternal()
5364 config.channel_mask = in createAudioPatchInternal()
6238 ? audio_channel_mask_contains_stereo(config->channel_mask) in canBeSpatializedInt()
6239 : audio_is_channel_mask_spatialized(config->channel_mask); in canBeSpatializedInt()
6246 if (config->channel_mask == AUDIO_CHANNEL_OUT_STEREO in canBeSpatializedInt()
6269 audio_channel_count_from_out_mask(config->channel_mask & AUDIO_CHANNEL_HAPTIC_ALL); in checkHapticCompatibilityOnSpatializerOutput()
6371 || configPtr->channel_mask == desc->mMixerChannelMask)) { in getSpatializerOutput()
6377 configPtr != nullptr ? configPtr->channel_mask : 0, in getSpatializerOutput()
7270 client->config().channel_mask, in checkOutputForAttributes()
7281 client->config().channel_mask, in checkOutputForAttributes()
8790 config.sample_rate, config.channel_mask, config.format); in openOutputWithProfileAndDevice()
8792 config.offload_info.channel_mask = config.channel_mask; in openOutputWithProfileAndDevice()