From 203b284bab7cabd5cf571c8db95dec32236b8b06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 22 Mar 2010 12:38:02 +0000 Subject: [PATCH] soundtouch: build fixes: #if -> #ifdef --- ext/soundtouch/gstbpmdetect.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/soundtouch/gstbpmdetect.cc b/ext/soundtouch/gstbpmdetect.cc index 710ba86665..9908dcad54 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);