Home
last modified time | relevance | path

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

/system/media/alsa_utils/
Dalsa_device_profile.c342 int max_allowed_index = -1; // index of maximum allowed channel count reported by device. in profile_enum_channel_counts() local
355 if (max_allowed_index < 0 || in profile_enum_channel_counts()
356 std_channel_counts[max_allowed_index] < test_count) { in profile_enum_channel_counts()
357 max_allowed_index = index; in profile_enum_channel_counts()
363 if (num_counts == 0 && max_allowed_index >= 0) { in profile_enum_channel_counts()
365 std_channel_counts[max_allowed_index]); in profile_enum_channel_counts()
366 profile->channel_counts[num_counts++] = std_channel_counts[max_allowed_index]; in profile_enum_channel_counts()