diff options
author | Jan Schmidt <thaytan@mad.scientist.com> | 2008-05-16 17:50:20 +0000 |
---|---|---|
committer | Jan Schmidt <thaytan@mad.scientist.com> | 2008-05-16 17:50:20 +0000 |
commit | e9370329dd317230bb2832b2f5f73434f2074e87 (patch) | |
tree | b9dcd642663277bed5e4c7043f6e453ac3bd6a4b /tests/examples | |
parent | 1c32c1b133c7026ee854f828e47f806873ae08d8 (diff) |
Fix some compiler warnings.
Original commit message from CVS:
* ext/wavpack/gstwavpackstreamreader.c:
* tests/examples/spectrum/demo-audiotest.c:
* tests/examples/spectrum/demo-osssrc.c:
Fix some compiler warnings.
Diffstat (limited to 'tests/examples')
-rw-r--r-- | tests/examples/spectrum/demo-audiotest.c | 2 | ||||
-rw-r--r-- | tests/examples/spectrum/demo-osssrc.c | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/examples/spectrum/demo-audiotest.c b/tests/examples/spectrum/demo-audiotest.c index bc2e9abc..a8d76c16 100644 --- a/tests/examples/spectrum/demo-audiotest.c +++ b/tests/examples/spectrum/demo-audiotest.c @@ -28,7 +28,9 @@ #include <gst/gst.h> #include <gtk/gtk.h> +#ifndef DEFAULT_AUDIOSINK #define DEFAULT_AUDIOSINK "autoaudiosink" +#endif static GtkWidget *drawingarea = NULL; static guint spect_height = 64; diff --git a/tests/examples/spectrum/demo-osssrc.c b/tests/examples/spectrum/demo-osssrc.c index eb28cff7..6b831f17 100644 --- a/tests/examples/spectrum/demo-osssrc.c +++ b/tests/examples/spectrum/demo-osssrc.c @@ -27,7 +27,10 @@ #include <gst/gst.h> #include <gtk/gtk.h> +#ifndef DEFAULT_AUDIOSRC #define DEFAULT_AUDIOSRC "alsasrc" +#endif + static guint spect_height = 64; static guint spect_bands = 256; static gfloat height_scale = 1.0; |