Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mix_PlayMusic mod player doesn't work and mutes sound effects with SDL 2.0.6 #221

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

These attachments are available in the static archive:

Reported in version: 2.0.1
Reported for operating system, platform: Windows 10, x86

Comments on the original bug report:

On 2017-09-29 12:47:35 +0000, Anthony @ POW Games wrote:

Created attachment 2962
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.

On 2017-10-21 19:21:22 +0000, Sam Lantinga wrote:

Can you try this with the latest code in Mercurial?
http://hg.libsdl.org/SDL_mixer

Thanks!

On 2017-10-24 23:46:29 +0000, Anthony @ POW Games wrote:

(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.

On 2017-10-25 00:37:52 +0000, Anthony @ POW Games wrote:

scratch that - it was something I was doing wrong. The call-backs are working - everything seems to be working this end.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant