audioresample: fix build without orc
https://bugzilla.gnome.org/show_bug.cgi?id=656781
This commit is contained in:
parent
6d875c5ccd
commit
30236ddfd3
@ -928,6 +928,7 @@ speex_resampler_init (spx_uint32_t nb_channels, spx_uint32_t in_rate,
|
|||||||
out_rate, quality, err);
|
out_rate, quality, err);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined HAVE_ORC && !defined DISABLE_ORC
|
||||||
static void
|
static void
|
||||||
check_insn_set (SpeexResamplerState * st, const char *name)
|
check_insn_set (SpeexResamplerState * st, const char *name)
|
||||||
{
|
{
|
||||||
@ -938,6 +939,7 @@ check_insn_set (SpeexResamplerState * st, const char *name)
|
|||||||
if (!strcmp (name, "sse2"))
|
if (!strcmp (name, "sse2"))
|
||||||
st->use_sse = st->use_sse2 = 1;
|
st->use_sse = st->use_sse2 = 1;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
EXPORT SpeexResamplerState *
|
EXPORT SpeexResamplerState *
|
||||||
speex_resampler_init_frac (spx_uint32_t nb_channels, spx_uint32_t ratio_num,
|
speex_resampler_init_frac (spx_uint32_t nb_channels, spx_uint32_t ratio_num,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user