Searched refs:num_counts (Results 1 – 1 of 1) sorted by relevance
309 unsigned num_counts = 0; in profile_enum_channel_counts() local314 num_counts < ARRAY_SIZE(profile->channel_counts) - 1; in profile_enum_channel_counts()319 profile->channel_counts[num_counts++] = std_channel_counts[index]; in profile_enum_channel_counts()323 if (num_counts == 0) { in profile_enum_channel_counts()326 profile->channel_counts[num_counts++] = std_channel_counts[0]; in profile_enum_channel_counts()328 profile->channel_counts[num_counts] = 0; in profile_enum_channel_counts()329 return num_counts; /* return # of supported counts */ in profile_enum_channel_counts()