mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
soundtouch: build fixes: #if -> #ifdef
This commit is contained in:
parent
33c2f5fb01
commit
203b284bab
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue