mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 18:35:35 +00:00
audioresample: fix build without orc
https://bugzilla.gnome.org/show_bug.cgi?id=656781
This commit is contained in:
parent
6d875c5ccd
commit
30236ddfd3
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue