soundtouch: build fixes: #if -> #ifdef

This commit is contained in:
Tim-Philipp Müller 2010-03-22 12:38:02 +00:00
parent 33c2f5fb01
commit 203b284bab

View file

@ -48,7 +48,7 @@ GST_DEBUG_CATEGORY_STATIC (gst_bpm_detect_debug);
struct _GstBPMDetectPrivate struct _GstBPMDetectPrivate
{ {
gfloat bpm; gfloat bpm;
#if HAVE_SOUNDTOUCH_1_4 #ifdef HAVE_SOUNDTOUCH_1_4
soundtouch::BPMDetect * detect; soundtouch::BPMDetect * detect;
#else #else
BPMDetect *detect; 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"); GST_ERROR_OBJECT (bpm_detect, "No channels or rate set yet");
return GST_FLOW_ERROR; return GST_FLOW_ERROR;
} }
#if HAVE_SOUNDTOUCH_1_4 #ifdef HAVE_SOUNDTOUCH_1_4
bpm_detect->priv->detect = bpm_detect->priv->detect =
new soundtouch::BPMDetect (filter->format.channels, new soundtouch::BPMDetect (filter->format.channels,
filter->format.rate); filter->format.rate);