From 30236ddfd39f50400f5a779de1d28cd4069e6577 Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Thu, 18 Aug 2011 09:48:16 +0100 Subject: [PATCH] audioresample: fix build without orc https://bugzilla.gnome.org/show_bug.cgi?id=656781 --- gst/audioresample/resample.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gst/audioresample/resample.c b/gst/audioresample/resample.c index ca4960804e..7cc04d66cf 100644 --- a/gst/audioresample/resample.c +++ b/gst/audioresample/resample.c @@ -928,6 +928,7 @@ speex_resampler_init (spx_uint32_t nb_channels, spx_uint32_t in_rate, out_rate, quality, err); } +#if defined HAVE_ORC && !defined DISABLE_ORC static void check_insn_set (SpeexResamplerState * st, const char *name) { @@ -938,6 +939,7 @@ check_insn_set (SpeexResamplerState * st, const char *name) if (!strcmp (name, "sse2")) st->use_sse = st->use_sse2 = 1; } +#endif EXPORT SpeexResamplerState * speex_resampler_init_frac (spx_uint32_t nb_channels, spx_uint32_t ratio_num,