Home
last modified time | relevance | path

Searched refs:alternate_rate (Results 1 – 4 of 4) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dmodargs.c427 int pa_modargs_get_alternate_sample_rate(pa_modargs *ma, uint32_t *alternate_rate) { in pa_modargs_get_alternate_sample_rate() argument
430 pa_assert(alternate_rate); in pa_modargs_get_alternate_sample_rate()
432 rate_local = *alternate_rate; in pa_modargs_get_alternate_sample_rate()
434 !pa_sample_rate_valid(*alternate_rate)) in pa_modargs_get_alternate_sample_rate()
437 *alternate_rate = rate_local; in pa_modargs_get_alternate_sample_rate()
Dmodargs.h85 int pa_modargs_get_alternate_sample_rate(pa_modargs *ma, uint32_t *alternate_rate);
Dsource.c1053 uint32_t alternate_rate = s->alternate_sample_rate; in pa_source_reconfigure() local
1064 if (PA_UNLIKELY(default_rate == alternate_rate && !passthrough && !avoid_resampling)) { in pa_source_reconfigure()
1094 if (spec->rate >= default_rate || spec->rate >= alternate_rate) in pa_source_reconfigure()
1098 } else if (default_rate == spec->rate || alternate_rate == spec->rate) { in pa_source_reconfigure()
1110 if (alternate_rate % 11025 == 0 && spec->rate % 11025 == 0) in pa_source_reconfigure()
1112 if (alternate_rate % 4000 == 0 && spec->rate % 4000 == 0) in pa_source_reconfigure()
1116 desired_spec.rate = alternate_rate; in pa_source_reconfigure()
Dsink.c1470 uint32_t alternate_rate = s->alternate_sample_rate; in pa_sink_reconfigure() local
1483 if (PA_UNLIKELY(default_rate == alternate_rate && !passthrough && !avoid_resampling)) { in pa_sink_reconfigure()
1513 if (spec->rate >= default_rate || spec->rate >= alternate_rate) in pa_sink_reconfigure()
1517 } else if (default_rate == spec->rate || alternate_rate == spec->rate) { in pa_sink_reconfigure()
1529 if (alternate_rate % 11025 == 0 && spec->rate % 11025 == 0) in pa_sink_reconfigure()
1531 if (alternate_rate % 4000 == 0 && spec->rate % 4000 == 0) in pa_sink_reconfigure()
1535 desired_spec.rate = alternate_rate; in pa_sink_reconfigure()