summaryrefslogtreecommitdiff
path: root/gst/audioresample
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2011-08-18 09:48:16 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2011-08-18 11:03:58 +0200
commit30236ddfd39f50400f5a779de1d28cd4069e6577 (patch)
tree9d46028294a6edf11894c86b0ba50403aca53fc8 /gst/audioresample
parent6d875c5ccd710a0ae0e646a3a8c9a8636aba5c95 (diff)
audioresample: fix build without orc
https://bugzilla.gnome.org/show_bug.cgi?id=656781
Diffstat (limited to 'gst/audioresample')
-rw-r--r--gst/audioresample/resample.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/audioresample/resample.c b/gst/audioresample/resample.c
index ca4960804..7cc04d66c 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,