summaryrefslogtreecommitdiffstats
path: root/sys/oss
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-02-25 17:45:54 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-02-25 17:45:54 +0000
commit7d14013c03f88c46469fce4ad646c87bbeed9d34 (patch)
treeba790f3a4e066e6e231746d7302bf89d4a9a7abc /sys/oss
parent32791b4347b6e807a0af1945bce9adb8e5b3442e (diff)
assorted debug/warning fixes
Original commit message from CVS: assorted debug/warning fixes
Diffstat (limited to 'sys/oss')
-rw-r--r--sys/oss/gstosselement.c6
1 files changed, 3 insertions, 3 deletions
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.. */
}