Lines Matching defs:rate
68 "rate=<sample rate> "
272 "rate",
361 old_rate = u->sink_input->sample_spec.rate;
362 base_rate = u->source_output->sample_spec.rate;
379 /* recording behind playback, we need to slowly adjust the rate to match */
391 pa_log_info("Old rate %lu Hz, new rate %lu Hz", (unsigned long) old_rate, (unsigned long) new_rate);
938 * We do this because the source data is coming at a fixed rate, which
1638 uint32_t pa_echo_canceller_blocksize_power2(unsigned rate, unsigned ms) {
1639 unsigned nframes = (rate * ms) / 1000;
1642 pa_assert(rate >= 4000);
1769 source_ss.rate = DEFAULT_RATE;
1774 sink_ss.rate = DEFAULT_RATE;
1843 if (sink_ss.rate != source_ss.rate) {
1844 pa_log_info("Sample rates of play and out stream differ. Adjusting rate of play stream.");
1845 sink_ss.rate = source_ss.rate;
1854 pa_assert(source_output_ss.rate == source_ss.rate);
1855 pa_assert(sink_ss.rate == source_ss.rate);
2266 source_ss.rate = DEFAULT_RATE;
2271 sink_ss.rate = DEFAULT_RATE;