[pulseaudio-discuss] [PATCHv2 3/3] resampler: Resample first followed by remapping if have more out channels than in channels

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Tue Jan 28 13:19:28 PST 2014


On Mon, 2013-12-02 at 17:27 +0100, Peter Meerwald wrote:
> +    pa_log_debug("Resampler:\n  rate %d -> %d (method %s),\n  format %s -> %s (intermediate %s),\n  channels %d -> %d (resampling %d)",
> +        a->rate, b->rate, pa_resample_method_to_string(r->method),
> +        pa_sample_format_to_string(a->format), pa_sample_format_to_string(b->format), pa_sample_format_to_string(r->work_format),
> +        a->channels, b->channels, r->work_channels);

I think we usually use separate pa_log_*() calls when we want to print
something on multiple lines, so I split this pa_log_debug() call into
multiple calls.

I also removed "Using resampler '%s'" and "Using %s as working format."
messages from earlier in the function due to the repetition.

-- 
Tanu



More information about the pulseaudio-discuss mailing list