Recognize "none" to disable the default reverb
This commit is contained in:
parent
40bb8bd9dc
commit
799f8da333
@ -1455,6 +1455,12 @@ ALvoid GetReverbEffect(const char *name, ALeffect *effect)
|
||||
{
|
||||
int i;
|
||||
|
||||
if(strcasecmp(name, "none") == 0)
|
||||
{
|
||||
InitEffectParams(effect, AL_EFFECT_NULL);
|
||||
return;
|
||||
}
|
||||
|
||||
if(!DisabledEffects[EAXREVERB])
|
||||
InitEffectParams(effect, AL_EFFECT_EAXREVERB);
|
||||
else if(!DisabledEffects[REVERB])
|
||||
|
@ -147,10 +147,10 @@
|
||||
## 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, CarpetedHallway,
|
||||
# Hallway, StoneCorridor, Alley, Forest, City, Moutains, Quarry, Plain,
|
||||
# ParkingLot, SewerPipe, Underwater, Drugged, Dizzy, Psychotic.
|
||||
# Available presets are: None, Generic, PaddedCell, Room, Bathroom,
|
||||
# Livingroom, Stoneroom, Auditorium, ConcertHall, Cave, Arena, Hangar,
|
||||
# CarpetedHallway, Hallway, StoneCorridor, Alley, Forest, City, Moutains,
|
||||
# Quarry, Plain, ParkingLot, SewerPipe, Underwater, Drugged, Dizzy, Psychotic.
|
||||
#default-reverb =
|
||||
|
||||
## trap-alc-error:
|
||||
|
Loading…
x
Reference in New Issue
Block a user