Fix TestMusicStreaming crash due to sound being positional and stereo

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10820 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
experimental
rem..om 11 years ago
parent eda3e8d725
commit 74f2b0a4c7
  1. 2
      engine/src/test/jme3test/audio/TestMusicStreaming.java

@ -47,6 +47,8 @@ public class TestMusicStreaming extends SimpleApplication {
public void simpleInitApp(){ public void simpleInitApp(){
assetManager.registerLocator("http://www.vorbis.com/music/", UrlLocator.class); assetManager.registerLocator("http://www.vorbis.com/music/", UrlLocator.class);
AudioNode audioSource = new AudioNode(assetManager, "Lumme-Badloop.ogg", true); AudioNode audioSource = new AudioNode(assetManager, "Lumme-Badloop.ogg", true);
audioSource.setPositional(false);
audioSource.setReverbEnabled(false);
audioSource.play(); audioSource.play();
} }

Loading…
Cancel
Save