Hi.
I wonder if there's an easy way of looping audio, currently i use a timer that's on the same lenght as the audio/song, the timer then starts then song again. I've tried adding "ContinuousAudioDataStream" to my code, but i'm getting some weird errors. I'm probably just doing the coding wrong, so if someone could tell me how to add ContinuousAudioDataStream properly, then tell me :)
Also, is there a way to stop the audio completely, reseting it. If i use "AudioPlayer.player.stop()" it simply stops the song on that certain spot and if i call AudioPlayer.play.start() it starts from the same location of the song..
EDIT:Is there a simple way to decrease the volume of the audio from within the java application/program?
Currently i'm using this:
Code:public void music() throws IOException{
Toolkit tk = this.getToolkit();
InputStream sond = this.getClass().getResourceAsStream("/BGMUSIC2.WAV");
AudioStream as = new AudioStream(sond);
AudioPlayer.player.start(as);
}

