summaryrefslogtreecommitdiff
path: root/src/pulsecore/resampler.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pulsecore/resampler.c')
-rw-r--r--src/pulsecore/resampler.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pulsecore/resampler.c b/src/pulsecore/resampler.c
index 5f8e9bd..30817cb 100644
--- a/src/pulsecore/resampler.c
+++ b/src/pulsecore/resampler.c
@@ -235,7 +235,11 @@ pa_resampler* pa_resampler_new(
if (method == PA_RESAMPLER_AUTO) {
#ifdef HAVE_SPEEX
+# ifdef __arm__
+ method = PA_RESAMPLER_SPEEX_FIXED_BASE + 1;
+# else
method = PA_RESAMPLER_SPEEX_FLOAT_BASE + 1;
+# endif
#else
if (flags & PA_RESAMPLER_VARIABLE_RATE)
method = PA_RESAMPLER_TRIVIAL;