Removed one assertion in AlAudioRenderer as it can't pass considering the current AudioNode implementation

experimental
Nehon 10 years ago
parent 9e4f418427
commit 7c5f994db8
  1. 4
      jme3-core/src/main/java/com/jme3/audio/openal/ALAudioRenderer.java

@ -989,7 +989,9 @@ public class ALAudioRenderer implements AudioRenderer, Runnable {
if (src.getStatus() == Status.Playing) {
return;
} else if (src.getStatus() == Status.Stopped) {
assert src.getChannel() != -1;
//Assertion removed as it seems it's not possible to have
//something different than =1 when first playing an AudioNode
// assert src.getChannel() != -1;
// allocate channel to this source
int index = newChannel();

Loading…
Cancel
Save