Home
last modified time | relevance | path

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

/third_party/pulseaudio/src/pulsecore/
Dsource.c1052 uint32_t default_rate = s->default_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()
1106 if (default_rate % 11025 == 0 && spec->rate % 11025 == 0) in pa_source_reconfigure()
1108 if (default_rate % 4000 == 0 && spec->rate % 4000 == 0) in pa_source_reconfigure()
1118 desired_spec.rate = default_rate; in pa_source_reconfigure()
Dsink.c1484 uint32_t default_rate = s->default_sample_rate; in pa_sink_reconfigure() local
1498 if (PA_UNLIKELY(default_rate == alternate_rate && !passthrough && !avoid_resampling)) { in pa_sink_reconfigure()
1528 if (spec->rate >= default_rate || spec->rate >= alternate_rate) in pa_sink_reconfigure()
1532 } else if (default_rate == spec->rate || alternate_rate == spec->rate) { in pa_sink_reconfigure()
1540 if (default_rate % 11025 == 0 && spec->rate % 11025 == 0) in pa_sink_reconfigure()
1542 if (default_rate % 4000 == 0 && spec->rate % 4000 == 0) in pa_sink_reconfigure()
1552 desired_spec.rate = default_rate; in pa_sink_reconfigure()