aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2022-08-09 03:51:33 -0700
committerChris Robinson <[email protected]>2022-08-09 04:01:31 -0700
commit63a82feae61b27db769ae17ea52df87c4bddbd4c (patch)
tree5ac5fe8fa794fbdcee962ea141e932e9942a2d3f
parent7e5dd4196846f61307e156d55ae0fc12fbd29512 (diff)
Rename the UHJ filter config option
-rw-r--r--alc/alc.cpp4
-rw-r--r--alsoftrc.sample10
2 files changed, 7 insertions, 7 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");
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)