aboutsummaryrefslogtreecommitdiffstats
path: root/src/output
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/output_thread.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/output_thread.c b/src/output_thread.c
index c4d5b16ee..ea2926b98 100644
--- a/src/output_thread.c
+++ b/src/output_thread.c
@@ -134,6 +134,22 @@ static gpointer audio_output_task(gpointer arg)
if (ret) {
pcm_convert_init(&ao->convert_state);
ao->open = true;
+
+
+ g_debug("opened plugin=%s name=\"%s\" "
+ "audio_format=%u:%u:%u",
+ ao->plugin->name,
+ ao->name,
+ ao->out_audio_format.sample_rate,
+ ao->out_audio_format.bits,
+ ao->out_audio_format.channels);
+
+ if (!audio_format_equals(&ao->in_audio_format,
+ &ao->out_audio_format))
+ g_debug("converting from %u:%u:%u",
+ ao->in_audio_format.sample_rate,
+ ao->in_audio_format.bits,
+ ao->in_audio_format.channels);
} else {
g_warning("Failed to open \"%s\" [%s]: %s",
ao->name, ao->plugin->name,