From 9489d43098883f7668824dbb10f6c5ffe024222a Mon Sep 17 00:00:00 2001 From: "PSp..om" Date: Tue, 10 May 2011 20:43:41 +0000 Subject: [PATCH] If reverb was enabled then the effect channel association needs to be cleared, regardless of whether there was a filter or not. git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7482 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- .../src/lwjgl-oal/com/jme3/audio/lwjgl/LwjglAudioRenderer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/lwjgl-oal/com/jme3/audio/lwjgl/LwjglAudioRenderer.java b/engine/src/lwjgl-oal/com/jme3/audio/lwjgl/LwjglAudioRenderer.java index ab5a803d9..894b2e973 100644 --- a/engine/src/lwjgl-oal/com/jme3/audio/lwjgl/LwjglAudioRenderer.java +++ b/engine/src/lwjgl-oal/com/jme3/audio/lwjgl/LwjglAudioRenderer.java @@ -692,7 +692,7 @@ public class LwjglAudioRenderer implements AudioRenderer, Runnable { } if (src.isPositional()){ AudioNode pas = (AudioNode) src; - if (pas.getReverbFilter() != null){ + if (pas.isReverbEnabled()) { AL11.alSource3i(sourceId, EFX10.AL_AUXILIARY_SEND_FILTER, 0, 0, EFX10.AL_FILTER_NULL); } }