Searched refs:profile_is_valid (Results 1 – 2 of 2) sorted by relevance
87 bool profile_is_valid(alsa_device_profile* profile) { in profile_is_valid() function142 return profile_is_valid(profile) ? profile->sample_rates[0] : DEFAULT_SAMPLE_RATE; in profile_get_default_sample_rate()147 if (profile_is_valid(profile)) { in profile_is_sample_rate_valid()169 return profile_is_valid(profile) ? profile->formats[0] : DEFAULT_SAMPLE_FORMAT; in profile_get_default_format()173 if (profile_is_valid(profile)) { in profile_is_format_valid()192 return profile_is_valid(profile) ? profile->channel_counts[0] : DEFAULT_CHANNEL_COUNT; in profile_get_default_channel_count()197 if (profile_is_valid(profile)) { in profile_get_closest_channel_count()
63 bool profile_is_valid(alsa_device_profile* profile);