Home
last modified time | relevance | path

Searched refs:rate_local (Results 1 – 2 of 2) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dmodargs.c393 uint32_t rate_local; in pa_modargs_get_sample_rate() local
397 rate_local = *rate; in pa_modargs_get_sample_rate()
398 if ((pa_modargs_get_value_u32(ma, "rate", &rate_local)) < 0 || in pa_modargs_get_sample_rate()
399 !pa_sample_rate_valid(rate_local)) in pa_modargs_get_sample_rate()
402 *rate = rate_local; in pa_modargs_get_sample_rate()
437 uint32_t rate_local; in pa_modargs_get_alternate_sample_rate() local
441 rate_local = *alternate_rate; in pa_modargs_get_alternate_sample_rate()
442 if ((pa_modargs_get_value_u32(ma, "alternate_rate", &rate_local)) < 0 || in pa_modargs_get_alternate_sample_rate()
446 *alternate_rate = rate_local; in pa_modargs_get_alternate_sample_rate()
/third_party/pulseaudio/src/pulse/
Dformat.c545 int rate_local; in pa_format_info_get_rate() local
550 r = pa_format_info_get_prop_int(f, PA_PROP_FORMAT_RATE, &rate_local); in pa_format_info_get_rate()
554 if (!pa_sample_rate_valid(rate_local)) { in pa_format_info_get_rate()
555 pa_log_debug("Invalid sample rate: %i", rate_local); in pa_format_info_get_rate()
559 *rate = rate_local; in pa_format_info_get_rate()