Lines Matching refs:channel_count
451 unsigned int channel_count = 0; in populate_channel_mask_from_profile() local
453 (channel_count = profile->channel_counts[i]) != 0 && in populate_channel_mask_from_profile()
455 if (channel_count < channel_masks_size && in populate_channel_mask_from_profile()
456 channel_masks_map[channel_count] != AUDIO_CHANNEL_NONE) { in populate_channel_mask_from_profile()
457 channel_masks[num_channel_masks++] = channel_masks_map[channel_count]; in populate_channel_mask_from_profile()
462 if (channel_count < CHANNEL_INDEX_MASKS_SIZE && in populate_channel_mask_from_profile()
463 CHANNEL_INDEX_MASKS_MAP[channel_count] != AUDIO_CHANNEL_NONE) { in populate_channel_mask_from_profile()
464 channel_masks[num_channel_masks++] = CHANNEL_INDEX_MASKS_MAP[channel_count]; in populate_channel_mask_from_profile()
1599 unsigned channel_count = proxy_get_channel_count(&device_info->proxy); in adev_open_input_stream() local
1600 config->channel_mask = channel_count <= FCC_2 in adev_open_input_stream()
1601 ? audio_channel_in_mask_from_count(channel_count) in adev_open_input_stream()
1602 : audio_channel_mask_for_index_assignment_from_count(channel_count); in adev_open_input_stream()