summaryrefslogtreecommitdiffstats
path: root/tests/examples/spectrum/demo-audiotest.c
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@mad.scientist.com>2008-05-16 17:50:20 +0000
committerJan Schmidt <thaytan@mad.scientist.com>2008-05-16 17:50:20 +0000
commite9370329dd317230bb2832b2f5f73434f2074e87 (patch)
treeb9dcd642663277bed5e4c7043f6e453ac3bd6a4b /tests/examples/spectrum/demo-audiotest.c
parent1c32c1b133c7026ee854f828e47f806873ae08d8 (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/spectrum/demo-audiotest.c')
-rw-r--r--tests/examples/spectrum/demo-audiotest.c2
1 files changed, 2 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;