summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--sys/oss/gstosselement.c7
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1b24c75a..2b2f497d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,8 +1,10 @@
2004-01-12 Thomas Vander Stichele <thomas at apestaart dot org>
* sys/oss/gstossaudio.c: (plugin_init):
+ * sys/oss/gstosselement.c: (gst_osselement_sync_parms):
* sys/oss/gstosselement.h:
make an oss debugging category
+ make failure more descriptive
2004-01-11 David Schleef <ds@schleef.org>
diff --git a/sys/oss/gstosselement.c b/sys/oss/gstosselement.c
index 48402cf5..4c1356ab 100644
--- a/sys/oss/gstosselement.c
+++ b/sys/oss/gstosselement.c
@@ -625,7 +625,12 @@ gst_osselement_sync_parms (GstOssElement *oss)
target_channels != oss->channels ||
target_rate != oss->rate)
{
- g_warning ("couldn't set requested OSS parameters, enjoy the noise :)");
+ if (target_channels != oss->channels)
+ g_warning ("couldn't set the right number of channels, enjoy the tone difference");
+ if (target_rate != oss->rate)
+ g_warning ("couldn't set the right number of channels, enjoy the speed difference");
+ if (target_format != oss->format)
+ g_warning ("couldn't set requested OSS parameters, 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.. */
}