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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux