Searched refs:num_counts (Results 1 – 1 of 1) sorted by relevance
278 unsigned num_counts = 0; in profile_enum_channel_counts() local283 num_counts < ARRAY_SIZE(profile->channel_counts) - 1; in profile_enum_channel_counts()288 profile->channel_counts[num_counts++] = std_channel_counts[index]; in profile_enum_channel_counts()292 if (num_counts == 0) { in profile_enum_channel_counts()295 profile->channel_counts[num_counts++] = std_channel_counts[0]; in profile_enum_channel_counts()297 profile->channel_counts[num_counts] = 0; in profile_enum_channel_counts()298 return num_counts; /* return # of supported counts */ in profile_enum_channel_counts()