summaryrefslogtreecommitdiffstats
path: root/tests/examples/spectrum/demo-audiotest.c
diff options
context:
space:
mode:
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;