I've noticed that a lot of topics were about pausing/resuming an MP3 using JLayer
, so in order to help everybody, I've made a whole entire class designed just for that! Please see the answer below.
Note: This was for my personal use, so it may not be as robust as some people were hoping. But it is not that hard to make simple modifications, due to its simplicity.
A very simple implementation of a player that is really pausing playback. It works by using a separate thread to play the stream and telling the player thread if/when to pause and resume.