| Summary: | Mix_PlayMusic mod player doesn't work and mutes sound effects with SDL 2.0.6 | ||
|---|---|---|---|
| Product: | SDL_mixer | Reporter: | Anthony @ POW Games <ant> |
| Component: | misc | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | major | ||
| Priority: | P2 | ||
| Version: | 2.0.1 | ||
| Hardware: | x86 | ||
| OS: | Windows 10 | ||
| Attachments: | test code | ||
Can you try this with the latest code in Mercurial? http://hg.libsdl.org/SDL_mixer Thanks! (In reply to Sam Lantinga from comment #1) > Can you try this with the latest code in Mercurial? > http://hg.libsdl.org/SDL_mixer > > Thanks! I've never been able to get Mercurial working for me, but the 2.0.2 binaries fix this problem. Sound and music are playing nicely now. However, Mix_ChannelFinished() and Mix_HookMusicFinished() are now broken. Not being triggered when a sample ends. Only triggered when a sample / music is forcibly halted. scratch that - it was something I was doing wrong. The call-backs are working - everything seems to be working this end. |
Created attachment 2962 [details] test code With the introduction of SDL 2.0.6, Mix_PlayMusic stopped working. No error code is returned. Calling Mix_PlayMusic also silences all sound effects. Mix_HaltMusic unmutes sound effects. The attached test code reproduces this bug every time.