From 63a82feae61b27db769ae17ea52df87c4bddbd4c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 9 Aug 2022 03:51:33 -0700 Subject: Rename the UHJ filter config option --- alc/alc.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alc') 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"); -- cgit v1.2.3