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
This commit is contained in:
parent
aa2c4333f4
commit
9489d43098
@ -692,7 +692,7 @@ public class LwjglAudioRenderer implements AudioRenderer, Runnable {
|
|||||||
}
|
}
|
||||||
if (src.isPositional()){
|
if (src.isPositional()){
|
||||||
AudioNode pas = (AudioNode) src;
|
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);
|
AL11.alSource3i(sourceId, EFX10.AL_AUXILIARY_SEND_FILTER, 0, 0, EFX10.AL_FILTER_NULL);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user