diff options
author | Max Kellermann <max@duempel.org> | 2015-06-20 15:25:00 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-06-20 15:25:00 +0200 |
commit | 2b0a127fa565c3e78d3a1e11f0fc68547dc5a161 (patch) | |
tree | 1861313115f0fa9e558a023e8471722c07e3e21e /src/pcm | |
parent | 07c5d3277fb6fed193fe250e191cd60054c376e7 (diff) | |
download | mpd-2b0a127fa565c3e78d3a1e11f0fc68547dc5a161.tar.gz mpd-2b0a127fa565c3e78d3a1e11f0fc68547dc5a161.tar.xz mpd-2b0a127fa565c3e78d3a1e11f0fc68547dc5a161.zip |
pcm/soxr: fix recipe parser
Diffstat (limited to 'src/pcm')
-rw-r--r-- | src/pcm/SoxrResampler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm/SoxrResampler.cxx b/src/pcm/SoxrResampler.cxx index 6f58a6092..f335e92e6 100644 --- a/src/pcm/SoxrResampler.cxx +++ b/src/pcm/SoxrResampler.cxx @@ -75,7 +75,7 @@ soxr_parse_quality(const char *quality) return SOXR_DEFAULT_RECIPE; for (const auto *i = soxr_quality_table; i->name != nullptr; ++i) - if (strcmp(i->name, "very high") == 0) + if (strcmp(i->name, quality) == 0) return i->recipe; return SOXR_INVALID_RECIPE; |