fixed sporadic problems when playing MP3 files on Windows
authorHolger Schemel <info@artsoft.org>
Mon, 3 Jun 2019 20:10:25 +0000 (22:10 +0200)
committerHolger Schemel <info@artsoft.org>
Mon, 3 Jun 2019 20:18:20 +0000 (22:18 +0200)
commitd7c2e950f49481d2cff5657a53519535c24d1c24
treed506611a97876b5cd44a0788809871b9a65da13a
parentfb04dd34fca520cfcac737fc1352a807331ea72d
fixed sporadic problems when playing MP3 files on Windows

This change (hopefully) fixes a problem that may sporadically occur
when playing MP3 files on Windows, in which case audio output is
either completely silent or music is stuttering instead of playing
normally.

The problem seems to be fixed by stopping the music channel before
playing the next track.
src/libgame/sound.c