SDL_Mixer_X Engine Upgrades
requested to merge StarManiaKG/the-story-of-sinically-rocketing-and-botching-the-2nd:tsourdt3rdport1 into next
Upgrades SDL_Mixer_X to Version 2.6.0.
To compensate with this upgrade, most SDL_Mixer_X and mixer_sound.c functions have been updated, allowing them to have more capabilities and features.
- General optimizations to functions have been added.
- CMake can now find and compile with SDL_Mixer_X libraries.
Additional DLLs have also been added and replaced.
-
libfluidlite.dll
now replaces libfluidsynth-2.dll. -
libwinpthread-1.dll
and libstdc++-6.dll have been added. -
libgcc_s_sjlj-1.dll
has been removed. -
x86_64
systems:-
libgcc_s_seh-1.dll
has been added.
-
-
i686
systems:-
libgcc_s_dw2-1.dll
has been added.
-
- The Timidity system has been fairly overhauled and optimized as well.
FUNCTIONS:
Revamped functions include:
-
S_SpeedMusic
- Now works with OGG files and more formats.
- Can't be used as a boolean function anymore. Instead,
S_GetSpeedMusic
takes its place in that regard.
-
S_SetInternalMusicVolume
- Minorly modified, just stores internal volume values in a variable, allowing for the internal volume to be grabbed and returned.
New functions include:
- float
S_GetSpeedMusic
- void
S_PitchMusic
- NOTE: Only works with OpenMPT, GME, and MIDI formats, due to SDL_Mixer-X restrictions.
- float
S_GetPitchMusic
- INT32
S_GetInternalMusicVolume
- void
S_SetInternalSfxVolume
- INT32
S_GetInternalSfxVolume
All of these new functions can now be used with BLUA as well.
Edited by StarManiaKG