Lines Matching refs:sample_rates
67 profile->sample_rates[0] = 0; in profile_reset()
147 return profile_is_valid(profile) ? profile->sample_rates[0] : DEFAULT_SAMPLE_RATE; in profile_get_default_sample_rate()
155 return profile->sample_rates[0]; in profile_get_highest_sample_rate()
162 for (index = 0; profile->sample_rates[index] != 0; index++) { in profile_is_sample_rate_valid()
163 if (profile->sample_rates[index] == rate) { in profile_is_sample_rate_valid()
279 num_entries < ARRAY_SIZE(profile->sample_rates) - 1; in profile_enum_sample_rates()
283 profile->sample_rates[num_entries++] = std_sample_rates[index]; in profile_enum_sample_rates()
286 profile->sample_rates[num_entries] = 0; /* terminate */ in profile_enum_sample_rates()
491 for (index = 0; profile->sample_rates[index] != 0; index++) { in profile_get_sample_rate_strs()
492 snprintf(numBuffer, sizeof(numBuffer), "%u", profile->sample_rates[index]); in profile_get_sample_rate_strs()
689 profile->sample_rates[rateIndex] != 0 && rateIndex < MAX_PROFILE_SAMPLE_RATES; in profile_dump()
691 dprintf(fd, "%u ", profile->sample_rates[rateIndex]); in profile_dump()