[Ohrrpgce] SVN: teeemcee/11474 music_sdl: get rid of sfx slot .paused flag to avoid possible bugs

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Sat Dec 21 15:29:50 PST 2019


teeemcee
2019-12-21 15:29:50 -0800 (Sat, 21 Dec 2019)
372
music_sdl: get rid of sfx slot .paused flag to avoid possible bugs

I haven't tested it, but a reading of the SDL_mixer 1.2 source shows that its
internal paused flag doesn't get reset when a sound (channel) is stopped. So
maintaining our own .paused flag which could differ from SDL_mixer's meant that
e.g. pausing a sound, stopping it, then playing it again didn't work.
---
U   wip/music_sdl.bas


More information about the Ohrrpgce mailing list