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()
142 return profile_is_valid(profile) ? profile->sample_rates[0] : DEFAULT_SAMPLE_RATE; in profile_get_default_sample_rate()
149 for (index = 0; profile->sample_rates[index] != 0; index++) { in profile_is_sample_rate_valid()
150 if (profile->sample_rates[index] == rate) { in profile_is_sample_rate_valid()
242 num_entries < ARRAY_SIZE(profile->sample_rates) - 1; in profile_enum_sample_rates()
246 profile->sample_rates[num_entries++] = std_sample_rates[index]; in profile_enum_sample_rates()
249 profile->sample_rates[num_entries] = 0; /* terminate */ in profile_enum_sample_rates()
436 for (index = 0; profile->sample_rates[index] != 0; index++) { in profile_get_sample_rate_strs()
437 snprintf(numBuffer, sizeof(numBuffer), "%u", profile->sample_rates[index]); in profile_get_sample_rate_strs()
612 profile->sample_rates[rateIndex] != 0 && rateIndex < MAX_PROFILE_SAMPLE_RATES; in profile_dump()
[all …]
/system/media/alsa_utils/include/
Dalsa_device_profile.h45 unsigned sample_rates[MAX_PROFILE_SAMPLE_RATES]; member
/system/media/audio/include/system/
Daudio.h1090 unsigned int sample_rates[AUDIO_PORT_MAX_SAMPLING_RATES]; member