I've got an AudioInputStream that i play when a mouseclick event occurs. This works fine unless other gui events are going on. Then it plays in a staggered manner, with jumping (like when a CD gets jostled). When I tried opening it in a diff. thread, for some reason it wouldn't play at all (I may have done smth wrong).
What's the best way to play audio so it plays fully/cleanly?
I know it's not lack of ram because if i open my MusicMatch app and play a song from there at the same time as these gui events, it does not skip/jump at all.