We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In SDL2, SDL_mixer uses https://wiki.libsdl.org/SDL2/SDL_MixAudioFormat, which takes a volume from 0-128.
In SDL3, SDL_mixer uses https://wiki.libsdl.org/SDL3/SDL_MixAudio, which now takes a float.
According to SDL's README-MIGRATION:
The following symbols have been removed: SDL_MIX_MAXVOLUME - mixer volume is now a float between 0.0 and 1.0
Therefore, I think it would make sense for SDL_mixer to follow SDL's lead here, before the API is frozen for release.
The text was updated successfully, but these errors were encountered:
Agreed, thanks for the PR!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
In SDL2, SDL_mixer uses https://wiki.libsdl.org/SDL2/SDL_MixAudioFormat, which takes a volume from 0-128.
In SDL3, SDL_mixer uses https://wiki.libsdl.org/SDL3/SDL_MixAudio, which now takes a float.
According to SDL's README-MIGRATION:
Therefore, I think it would make sense for SDL_mixer to follow SDL's lead here, before the API is frozen for release.
The text was updated successfully, but these errors were encountered: