Playing an audio file multiple timesPurpose. Plays an audio file repeatedly by resetting the AudioInputStream rather than using a Clip. Usage. java RewindingAudioPlayer audiofile Parameters.
Bugs, limitations. Compressed formats cannot be handled. For a way to handle encoded as well as unencoded files, see AudioPlayer. Source code. RewindingAudioPlayer.java | |