Actually I'd guess it happens if the audio device is closed and reopened in the player. Some players will hold it open to avoid such a problem.

But that's just a guess.