From 7d14013c03f88c46469fce4ad646c87bbeed9d34 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Wed, 25 Feb 2004 17:45:54 +0000 Subject: assorted debug/warning fixes Original commit message from CVS: assorted debug/warning fixes --- sys/oss/gstosselement.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys') diff --git a/sys/oss/gstosselement.c b/sys/oss/gstosselement.c index 9ef57338..6d9e7445 100644 --- a/sys/oss/gstosselement.c +++ b/sys/oss/gstosselement.c @@ -645,11 +645,11 @@ gst_osselement_sync_parms (GstOssElement *oss) target_rate != oss->rate) { if (target_channels != oss->channels) - g_warning ("couldn't set the right number of channels, enjoy the tone difference"); + g_warning ("couldn't set the right number of channels (wanted %d, got %d), enjoy the tone difference", target_channels, oss->channels); if (target_rate != oss->rate) - g_warning ("couldn't set the right number of channels, enjoy the speed difference"); + g_warning ("couldn't set the right sample rate (wanted %d, got %d), enjoy the speed difference", target_rate, oss->rate); if (target_format != oss->format) - g_warning ("couldn't set requested OSS parameters, enjoy the noise :)"); + g_warning ("couldn't set requested OSS format, enjoy the noise :)"); /* we could eventually return FALSE here, or just do some additional tests * to see that the frequencies don't differ too much etc.. */ } -- cgit