Hi again,
I've made some test, but now with the "space invaders" source i've found inside lwjgl-source-2.5. I added some new lines in the main loop :
while (Game.gameRunning) {
// clear screen
GL11.glClear(GL11.GL_COLOR_BUFFER_BIT | GL11.GL_DEPTH_BUFFER_BIT);
GL11.glMatrixMode(GL11.GL_MODELVIEW);
GL11.glLoadIdentity();
// let subsystem paint
frameRendering();
// update window contents
Display.update();
if (System.currentTimeMillis() > lastSoundTime+35000) {
lastSoundTime = System.currentTimeMillis();
soundManager.playSound(SOUND_TEST);
}
}
Adding the sound with
SOUND_TEST = soundManager.addSound("test.wav");
The goal of the test is to play a sound via the soundManager of space invaders. After 6 hours..... distortion again
