Tried to stop a soundfile music that was playing upon exiting an area that was started when on enter.
PlayerEnterAreaEvent
SoundInformation jesu = new SoundInformation(this, "/sounds/jesu.ogg");
player.playSound(soundfile);
id = player.playSound(jesu);
PlayerLeaveAreaEvent
player.stopSound(id);
file was 1meg ogg format.
Got this error:
Uncaught exceptionthrown in Thread[jME3 Main,5,main]
java.lang.UnsatisfiedLinkError:de.jiw.fmod.wrapper.lowlevel.Sound.release(J)V
atde.jiw.fmod.wrapper.lowlevel.Sound.release(Native Method)
atde.jiw.fmod.wrapper.lowlevel.Sound.release(Sound.java:91)
atax.d.b(SourceFile:153)
ataK.a.a(SourceFile:2423)
atcommons.JIWApplication.update(SourceFile:299)
atcom.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151)
atcom.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:198)
atcom.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:232)
atjava.lang.Thread.run(Unknown Source)