pcm/soxr: fix recipe parser
This commit is contained in:
parent
07c5d3277f
commit
2b0a127fa5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user