fix for issue #983 (TestMusicStreaming crashes due to missing asset)

accellbaker
Stephen Gold 6 years ago
parent 2a904034c2
commit bbf1f73a89
  1. 2
      jme3-examples/src/main/java/jme3test/audio/TestMusicStreaming.java

@ -46,7 +46,7 @@ public class TestMusicStreaming extends SimpleApplication {
@Override
public void simpleInitApp(){
assetManager.registerLocator("http://www.vorbis.com/music/", UrlLocator.class);
assetManager.registerLocator("https://web.archive.org/web/20170625151521if_/http://www.vorbis.com/music/", UrlLocator.class);
AudioNode audioSource = new AudioNode(assetManager, "Lumme-Badloop.ogg",
AudioData.DataType.Stream);
audioSource.setPositional(false);

Loading…
Cancel
Save