as PlayerThread gets to sleep for waitms time then you would hit stop/pause after you already called log.readNext so you will always skip what you read once you play again
so the fix purposes to log the each time we run playthread so in case we get interrupted during sleep of waitms then we can get back to where the last play was trying to play but its time didn't come yet
as PlayerThread gets to sleep for waitms time then you would hit stop/pause after you already called log.readNext so you will always skip what you read once you play again so the fix purposes to log the each time we run playthread so in case we get interrupted during sleep of waitms then we can get back to where the last play was trying to play but its time didn't come yet