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

Regression: Mix_OpenAudio fails if the audio subsystem is not initialized #215

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

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: unspecified
Reported for operating system, platform: Linux, x86_64

Comments on the original bug report:

On 2017-03-01 18:52:49 +0000, wrote:

The following commit, adding the function Mix_OpenAudioDevice, leads to the regression as described in the summary: https://hg.libsdl.org/SDL_mixer/rev/fb0562cc1559

The reason is that SDL_OpenAudioDevice is now called from Mix_OpenAudio or Mix_OpenAudioDevice, rather than SDL_OpenAudio as previously used (via Mix_OpenAudio).

SDL_OpenAudio differs from SDL_OpenAudioDevice by initializing the audio subsystem if it isn't init.

There is at least one app which got broken by this (revision no. 6079 of EDuke32).

On 2017-05-24 20:49:19 +0000, Ryan C. Gordon wrote:

This is fixed in https://hg.libsdl.org/SDL_mixer/rev/119df1a05eb7, thanks!

--ryan.

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