Home
last modified time | relevance | path

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

/system/media/alsa_utils/
Dalsa_device_profile.c67 profile->sample_rates[0] = 0; in profile_reset()
140 return profile_is_valid(profile) ? profile->sample_rates[0] : DEFAULT_SAMPLE_RATE; in profile_get_default_sample_rate()
147 for (index = 0; profile->sample_rates[index] != 0; index++) { in profile_is_sample_rate_valid()
148 if (profile->sample_rates[index] == rate) { in profile_is_sample_rate_valid()
225 num_entries < ARRAY_SIZE(profile->sample_rates) - 1; in profile_enum_sample_rates()
229 profile->sample_rates[num_entries++] = std_sample_rates[index]; in profile_enum_sample_rates()
232 profile->sample_rates[num_entries] = 0; /* terminate */ in profile_enum_sample_rates()
405 for (index = 0; profile->sample_rates[index] != 0; index++) { in profile_get_sample_rate_strs()
406 snprintf(numBuffer, sizeof(numBuffer), "%u", profile->sample_rates[index]); in profile_get_sample_rate_strs()
/system/media/alsa_utils/include/
Dalsa_device_profile.h45 unsigned sample_rates[MAX_PROFILE_SAMPLE_RATES]; member
/system/media/audio/include/system/
Daudio.h1014 unsigned int sample_rates[AUDIO_PORT_MAX_SAMPLING_RATES]; member