Searched refs:rate_local (Results 1 – 2 of 2) sorted by relevance
393 uint32_t rate_local; in pa_modargs_get_sample_rate() local397 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() local441 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()
545 int rate_local; in pa_format_info_get_rate() local550 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()