diff --git a/src/pulsecore/sink.c b/src/pulsecore/sink.c index d7f9f26e9..a615922bc 100644 --- a/src/pulsecore/sink.c +++ b/src/pulsecore/sink.c @@ -1613,8 +1613,8 @@ int pa_sink_reconfigure(pa_sink *s, pa_sample_spec *spec, pa_channel_map *map, b if (!passthrough && pa_sink_used_by(s) > 0) return -1; - pa_log_debug("Suspending sink %s due to changing format, desired format = %s rate = %u", - s->name, pa_sample_format_to_string(desired_spec.format), desired_spec.rate); + pa_log_debug("Suspending sink %s due to changing format, desired format = %s rate = %u, channels = %u", + s->name, pa_sample_format_to_string(desired_spec.format), desired_spec.rate, desired_spec.channels); pa_sink_suspend(s, true, PA_SUSPEND_INTERNAL); /* Keep the old channel map in case it changes */ diff --git a/src/pulsecore/source.c b/src/pulsecore/source.c index 22eeb9d34..e5c39196e 100644 --- a/src/pulsecore/source.c +++ b/src/pulsecore/source.c @@ -1177,8 +1177,8 @@ int pa_source_reconfigure(pa_source *s, pa_sample_spec *spec, pa_channel_map *ma if (!passthrough && pa_source_used_by(s) > 0) return -1; - pa_log_debug("Suspending source %s due to changing format, desired format = %s rate = %u", - s->name, pa_sample_format_to_string(desired_spec.format), desired_spec.rate); + pa_log_debug("Suspending source %s due to changing format, desired format = %s rate = %u, channels = %u", + s->name, pa_sample_format_to_string(desired_spec.format), desired_spec.rate, desired_spec.channels); pa_source_suspend(s, true, PA_SUSPEND_INTERNAL);