Home
last modified time | relevance | path

Searched refs:channel_counts (Results 1 – 2 of 2) sorted by relevance

/hardware/libhardware/modules/usbaudio/
Dalsa_device_profile.c76 for (index = 0; index < ARRAY_SIZE(profile->channel_counts); index++) { in profile_init()
77 profile->channel_counts[index] = 0; in profile_init()
195 return profile_is_valid(profile) ? profile->channel_counts[0] : DEFAULT_CHANNEL_COUNT; in profile_get_default_channel_count()
283 unsigned * channel_counts = in profile_enum_channel_counts() local
294 num_counts < ARRAY_SIZE(profile->channel_counts) - 1; in profile_enum_channel_counts()
297 if (channel_counts[index] >= min && channel_counts[index] <= max /* && in profile_enum_channel_counts()
299 profile->channel_counts[num_counts++] = channel_counts[index]; in profile_enum_channel_counts()
474 for (index = 0; (channel_count = profile->channel_counts[index]) != 0; index++) { in profile_get_channel_count_strs()
Dalsa_device_profile.h47 unsigned channel_counts[MAX_PROFILE_CHANNEL_COUNTS]; member