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"); diff --git a/alsoftrc.sample b/alsoftrc.sample index 9097ae1d..642eedf1 100644 --- a/alsoftrc.sample +++ b/alsoftrc.sample @@ -349,16 +349,16 @@ #surround3d71 = ## -## UHJ stuff +## UHJ and Super Stereo stuff ## [uhj] -## filter-type: (global) +## filter: (global) # Specifies the all-pass filter type for UHJ encoding, decoding, and Super # Stereo processing. The default is 'fir256', which utilizes a 256-point FIR -# filter. 'fir512' is a 512-point FIR filter, providing higher quality at the -# cost of higher CPU use. -#filter-type = fir256 +# filter. 'fir512' utilizes a 512-point FIR filter, providing higher quality +# at the cost of higher CPU use. +#filter = fir256 ## ## Reverb effect stuff (includes EAX reverb)