From 7c5f994db86813e03f773bf50b195d7a77663ba4 Mon Sep 17 00:00:00 2001 From: Nehon Date: Mon, 9 Mar 2015 22:20:19 +0100 Subject: [PATCH] Removed one assertion in AlAudioRenderer as it can't pass considering the current AudioNode implementation --- .../src/main/java/com/jme3/audio/openal/ALAudioRenderer.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/jme3-core/src/main/java/com/jme3/audio/openal/ALAudioRenderer.java b/jme3-core/src/main/java/com/jme3/audio/openal/ALAudioRenderer.java index 13bf921c9..acd54abce 100644 --- a/jme3-core/src/main/java/com/jme3/audio/openal/ALAudioRenderer.java +++ b/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();