aboutsummaryrefslogtreecommitdiffstats
path: root/src/pcm/SoxrResampler.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pcm/SoxrResampler.cxx2
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;