aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/ALc.c4
-rw-r--r--alsoftrc.sample11
2 files changed, 14 insertions, 1 deletions
diff --git a/Alc/ALc.c b/Alc/ALc.c
index 084e7bdc..ff22ad01 100644
--- a/Alc/ALc.c
+++ b/Alc/ALc.c
@@ -722,9 +722,11 @@ static void alc_initconfig(void)
} while(next++);
}
- str = getenv("__ALSOFT_FORCE_REVERB");
+ str = getenv("__ALSOFT_DEFAULT_REVERB");
if(str && str[0])
GetReverbEffect(str, &ForcedEffect);
+ else if(ConfigValueStr(NULL, "default-reverb", &str))
+ GetReverbEffect(str, &ForcedEffect);
}
diff --git a/alsoftrc.sample b/alsoftrc.sample
index 1d294203..cae32671 100644
--- a/alsoftrc.sample
+++ b/alsoftrc.sample
@@ -150,6 +150,17 @@
#layout_61CHN = fl=-30, fr=30, fc=0, sl=-90, sr=90, bc=180
#layout_71CHN = fl=-30, fr=30, fc=0, sl=-90, sr=90, bl=-150, br=150
+## default-reverb:
+# A reverb preset that applies by default to all sources on send 0
+# (applications that set their own slots on send 0 will override this).
+# Available presets are: Generic, PaddedCell, Room, Bathroom, Livingroom,
+# Stoneroom, Auditorium, ConcertHall, Cave, Arena, Hangar, CarpettedHallway,
+# Hallway, StoneCorridor, Alley, Forestm City, Moutains, Quarry, Plain,
+# ParkingLot, SewerPipe, Underwater, Drugged, Dizzy, Psychotic. Optionally,
+# the __ALSOFT_DEFAULT_REVERB env var may be set before running the app
+# instead.
+#default-reverb =
+
## trap-alc-error:
# Generates a SIGTRAP signal when an ALC device error is generated, on systems
# that support it. This helps when debugging, while trying to find the cause