JOAL crackly on linux?

I am using Ubuntu 8.04, when I run lesson 1, “single static source” with a music track in .wav format, I get small pauses in the sound. When the song starts, it plays too fast for a few milliseconds, then speed gets normal. Later it skips a few milliseconds, which makes the sound all skippy.

Has anyone else had similar problems? I tried the same thing in my Windows XP and it worked flawlessly.
I really want to make an OGGplayer with Joal for my small game, but this is really a letdown. I cant really seem to get it to work, i’ve tried fiddling with buffer size and stuff for OGG, but then I found out the actual problem was JOAL not playing the stream right.

So the problem must be somewhere in the joal library, it wants to play the buffer(which I have tested to be perfect via java sound api), but it somehow stumbles and skips some bytes sometimes.

I really hope someone can help me. Any linux experience with joal is helpful!

greetings from
Felix

edit

Btw, it seems to work fine with very small samples. I havent experienced any problems. But that might be because the files are so small it doesnt get to the part when it starts making skippy-noise.

Looks like JOAL is now suffering from the same problem that LWJGL used to. Check out this thread for a solution, assuming that JOAL allows a simple drop-in replacement of libopenal.so

edit:

Actually, with a bit more thought, it might not be a problem with JOAL but with the openAL supplied by ubuntu. IIRC, JOAL uses the system’s openal lib if available instead of its own. So, you might have to replace ubuntu’s openal with a working version, or find some way of getting JOAL to ignore the system lib.

Ohh… Thanks alot for your insight! I will look into this :smiley: And Ill try to return here with what I found out!

edit

I looked at the thread in your link, found another .so file (some guy posted it) and it fixed my problem :smiley:

I had to uninstall the joal package from my system of course, as you wrote above ;).

Is it possible to rather use openal-soft when deploying JOAL through Java Webstart?