aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm/ConfiguredResampler.cxx
diff options
context:
space:
mode:
authorChase Geigle <geigle1@illinois.edu>2014-01-21 12:34:06 -0600
committerMax Kellermann <max@duempel.org>2014-01-21 20:35:26 +0100
commit716bdc36fd5427c8e24589a00d90d47d99c81cd6 (patch)
tree16f4aeb088c29ee3cc4350cbccefccceba3f26af /src/pcm/ConfiguredResampler.cxx
parent4f120f371474dbdc3e7ec4182d257dc9492d827b (diff)
downloadmpd-716bdc36fd5427c8e24589a00d90d47d99c81cd6.tar.gz
mpd-716bdc36fd5427c8e24589a00d90d47d99c81cd6.tar.xz
mpd-716bdc36fd5427c8e24589a00d90d47d99c81cd6.zip
pcm/SoxrResampler: Add configurable quality levels
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