diff options
-rw-r--r-- | OpenAL32/alEffect.c | 6 | ||||
-rw-r--r-- | alsoftrc.sample | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/OpenAL32/alEffect.c b/OpenAL32/alEffect.c index aebda3c7..90e33a02 100644 --- a/OpenAL32/alEffect.c +++ b/OpenAL32/alEffect.c @@ -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]) diff --git a/alsoftrc.sample b/alsoftrc.sample index 195530e0..c7cdceb3 100644 --- a/alsoftrc.sample +++ b/alsoftrc.sample @@ -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: |