Commit 2b0a127f authored by Max Kellermann's avatar Max Kellermann

pcm/soxr: fix recipe parser

parent 07c5d327
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment