diff options
author | Chris Robinson <[email protected]> | 2022-08-09 03:51:33 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-08-09 04:01:31 -0700 |
commit | 63a82feae61b27db769ae17ea52df87c4bddbd4c (patch) | |
tree | 5ac5fe8fa794fbdcee962ea141e932e9942a2d3f /alc | |
parent | 7e5dd4196846f61307e156d55ae0fc12fbd29512 (diff) |
Rename the UHJ filter config option
Diffstat (limited to 'alc')
-rw-r--r-- | alc/alc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp index 571088c9..8e11a5d4 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -1145,14 +1145,14 @@ void alc_initconfig(void) } Voice::InitMixer(ConfigValueStr(nullptr, nullptr, "resampler")); - if(auto uhjfiltopt = ConfigValueStr(nullptr, "uhj", "filter-type")) + if(auto uhjfiltopt = ConfigValueStr(nullptr, "uhj", "filter")) { if(al::strcasecmp(uhjfiltopt->c_str(), "fir256") == 0) UhjQuality = UhjLengthLq; else if(al::strcasecmp(uhjfiltopt->c_str(), "fir512") == 0) UhjQuality = UhjLengthHq; else - WARN("Unsupported uhj/filter-type: %s\n", uhjfiltopt->c_str()); + WARN("Unsupported uhj/filter: %s\n", uhjfiltopt->c_str()); } auto traperr = al::getenv("ALSOFT_TRAP_ERROR"); |