pause audio in java
am quite new to sound applications in java. I want a audio control panel as output. i.e. if i click play button audio should play, if i click stop audio should stop and if i click pause audio should pause/hold until the play or resume button is clicked. i have done with playing and stopping audio. but could not pause and resume the audio . i used audioClip interface to play audio. functions i used were clip.play(), clip.stop(). but clip.pause or clip.resume() does not exist in api.
so can anyone suggest me any other better idea. pls...
What happens when you call clip.stop() and then clip.play()?
Anyway, if you want help with this, you'll have to provide an SSCCE that demonstrates what you're actually doing.