In libmikmod 3.3.7, Player_Stop checks if any sound effects are playing before issuing a DisableOutput so that sound effects won't get interrupted when music is stopped. This is good. However if the music stops and DisableOutput isn't called, the notes will get stuck. This is easily fixed by using Voice_Stop on all music voices in Player_Stop. I included a patch.