Lines Matching defs:spec
1635 static void source_reconfigure_cb(pa_source *s, pa_sample_spec *spec, bool passthrough) {
1651 if (u->supported_formats[i] == spec->format) {
1652 pa_source_set_sample_format(u->source, spec->format);
1654 effective_spec.format = spec->format;
1663 pa_sample_format_to_string(spec->format));
1671 if (u->supported_rates[i] == spec->rate) {
1672 pa_source_set_sample_rate(u->source, spec->rate);
1674 effective_spec.rate = spec->rate;
1682 pa_log_info("Source does not support sample rate of %u, set it to a verfied value", spec->rate);
2065 /* Pick sample spec overrides from the mapping, if any */
2294 /* ALSA might tweak the sample spec, so recalculate the frame size */