Searched refs:sample_rates (Results 1 – 5 of 5) sorted by relevance
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()256 num_entries < ARRAY_SIZE(profile->sample_rates) - 1; in profile_enum_sample_rates()260 profile->sample_rates[num_entries++] = std_sample_rates[index]; in profile_enum_sample_rates()263 profile->sample_rates[num_entries] = 0; /* terminate */ in profile_enum_sample_rates()451 for (index = 0; profile->sample_rates[index] != 0; index++) { in profile_get_sample_rate_strs()452 snprintf(numBuffer, sizeof(numBuffer), "%u", profile->sample_rates[index]); in profile_get_sample_rate_strs()[all …]
117 int max_rate_index = proxy_scan_rates(proxy, profile->sample_rates); in proxy_prepare()119 if (proxy->alsa_config.rate > profile->sample_rates[max_rate_index]) { in proxy_prepare()121 proxy->alsa_config.rate, profile->sample_rates[max_rate_index]); in proxy_prepare()122 proxy->alsa_config.rate = profile->sample_rates[max_rate_index]; in proxy_prepare()293 int proxy_scan_rates(alsa_device_proxy * proxy, const unsigned sample_rates[]) { in proxy_scan_rates() argument304 while (sample_rates[rate_index] != 0) { in proxy_scan_rates()305 alsa_config.rate = sample_rates[rate_index]; in proxy_scan_rates()
59 int proxy_scan_rates(alsa_device_proxy * proxy, const unsigned sample_rates[]);
46 unsigned sample_rates[MAX_PROFILE_SAMPLE_RATES]; member
539 unsigned int sample_rates[AUDIO_PORT_MAX_SAMPLING_RATES]; member