aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm/ConfiguredResampler.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pcm/ConfiguredResampler.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pcm/ConfiguredResampler.cxx b/src/pcm/ConfiguredResampler.cxx
index 7f64e2889..a9429ef37 100644
--- a/src/pcm/ConfiguredResampler.cxx
+++ b/src/pcm/ConfiguredResampler.cxx
@@ -59,9 +59,9 @@ pcm_resampler_global_init(Error &error)
return true;
#ifdef HAVE_SOXR
- if (strcmp(converter, "soxr") == 0) {
+ if (memcmp(converter, "soxr", 4) == 0) {
selected_resampler = SelectedResampler::SOXR;
- return true;
+ return pcm_resample_soxr_global_init(converter, error);
}
#endif