Lines Matching defs:proposed_channel_count
558 unsigned proposed_channel_count = 0;
560 proposed_channel_count = k_force_channels;
562 proposed_channel_count = profile_get_default_channel_count(out->profile);
565 if (proposed_channel_count != 0) {
566 if (proposed_channel_count <= FCC_2) {
568 config->channel_mask = audio_channel_out_mask_from_count(proposed_channel_count);
572 audio_channel_mask_for_index_assignment_from_count(proposed_channel_count);
575 proposed_channel_count = audio_channel_count_from_out_mask(config->channel_mask);
577 out->hal_channel_count = proposed_channel_count;
946 unsigned proposed_channel_count = 0;
948 proposed_channel_count = k_force_channels;
950 proposed_channel_count = profile_get_default_channel_count(in->profile);
952 if (proposed_channel_count != 0) {
953 config->channel_mask = audio_channel_in_mask_from_count(proposed_channel_count);
956 audio_channel_mask_for_index_assignment_from_count(proposed_channel_count);
957 in->hal_channel_count = proposed_channel_count;