From 2b0a127fa565c3e78d3a1e11f0fc68547dc5a161 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 20 Jun 2015 15:25:00 +0200 Subject: pcm/soxr: fix recipe parser --- src/pcm/SoxrResampler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/pcm') 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; -- cgit v1.2.3