Lines Matching defs:spec
1820 static void sink_reconfigure_cb(pa_sink *s, pa_sample_spec *spec, bool passthrough) {
1836 if (u->supported_formats[i] == spec->format) {
1837 pa_sink_set_sample_format(u->sink, spec->format);
1839 effective_spec.format = spec->format;
1848 pa_sample_format_to_string(spec->format));
1856 if (u->supported_rates[i] == spec->rate) {
1857 pa_sink_set_sample_rate(u->sink, spec->rate);
1859 effective_spec.rate = spec->rate;
1867 pa_log_info("Sink does not support sample rate of %u, set it to a verified value", spec->rate);
2366 /* Pick sample spec overrides from the mapping, if any */
2613 /* ALSA might tweak the sample spec, so recalculate the frame size */