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
This commit is contained in:
parent
eda3e8d725
commit
74f2b0a4c7
@ -47,6 +47,8 @@ public class TestMusicStreaming extends SimpleApplication {
|
||||
public void simpleInitApp(){
|
||||
assetManager.registerLocator("http://www.vorbis.com/music/", UrlLocator.class);
|
||||
AudioNode audioSource = new AudioNode(assetManager, "Lumme-Badloop.ogg", true);
|
||||
audioSource.setPositional(false);
|
||||
audioSource.setReverbEnabled(false);
|
||||
audioSource.play();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user