BufferOverflowException

Hi,



I get this exception immediately after the application startet. This is what comes next, if it’s of any interests:



at java.nio.DirectByteBuffer.put(Unknown Source)

at com.jme3.audio.plugins.WAVLoader.readDataChunkForBuffer(WAVLoader.java:182)



This is how I load the sound:

[java]

biteSound = new AudioNode(assetManager, “Sounds/Effects/bite.wav”, false);

biteSound.setLooping(false);

biteSound.setVolume(0.3f);

[/java]



and this is how i play it:

[java]

audioRenderer.playSource(biteSound);

[/java]



When I set streaming to true, the sound is played only once.

The sound file is 64 kB big and somewhat shorter then a second. Can someone help me? :slight_smile:



greetings