summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2010-03-22 12:38:02 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2010-03-22 12:38:02 +0000
commit203b284bab7cabd5cf571c8db95dec32236b8b06 (patch)
tree1139091c005b87f514298dfce9c754f1f310e34c
parent33c2f5fb01b1cb9145751a745cfa2514421fa7b3 (diff)
soundtouch: build fixes: #if -> #ifdef
-rw-r--r--ext/soundtouch/gstbpmdetect.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/soundtouch/gstbpmdetect.cc b/ext/soundtouch/gstbpmdetect.cc
index 710ba8666..9908dcad5 100644
--- a/ext/soundtouch/gstbpmdetect.cc
+++ b/ext/soundtouch/gstbpmdetect.cc
@@ -48,7 +48,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_bpm_detect_debug);
struct _GstBPMDetectPrivate
{
gfloat bpm;
-#if HAVE_SOUNDTOUCH_1_4
+#ifdef HAVE_SOUNDTOUCH_1_4
soundtouch::BPMDetect * detect;
#else
BPMDetect *detect;
@@ -201,7 +201,7 @@ gst_bpm_detect_transform_ip (GstBaseTransform * trans, GstBuffer * in)
GST_ERROR_OBJECT (bpm_detect, "No channels or rate set yet");
return GST_FLOW_ERROR;
}
-#if HAVE_SOUNDTOUCH_1_4
+#ifdef HAVE_SOUNDTOUCH_1_4
bpm_detect->priv->detect =
new soundtouch::BPMDetect (filter->format.channels,
filter->format.rate);