mixVersion function mixer
Get the version of SDL_mixer that is linked against your program.
If you are linking to SDL_mixer dynamically, then it is possible that the current version will be different than the version you compiled against. This function returns the current version, while SDL_MIXER_VERSION is the version you compiled with.
This function may be called safely at any time, even before MIX_Init().
\returns the version of the linked library.
\since This function is available since SDL_mixer 3.0.0.
\sa SDL_MIXER_VERSION
extern SDL_DECLSPEC int SDLCALL MIX_Version(void)
Implementation
int mixVersion() {
final mixVersionLookupFunction = _libMixer
.lookupFunction<Int32 Function(), int Function()>('MIX_Version');
return mixVersionLookupFunction();
}