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

This commit is contained in:
Nehon 2015-03-09 22:20:19 +01:00
parent 9e4f418427
commit 7c5f994db8

View File

@ -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();