mixGetMusicVolume function
Query the current volume value for a music object.
\param music the music object to query. \returns the music's current volume, between 0 and MIX_MAX_VOLUME (128).
\since This function is available since SDL_mixer 3.0.0.
extern SDL_DECLSPEC int SDLCALL Mix_GetMusicVolume(Mix_Music *music)
Implementation
int mixGetMusicVolume(Pointer<MixMusic> music) {
final mixGetMusicVolumeLookupFunction = libSdl3Mixer.lookupFunction<
Int32 Function(Pointer<MixMusic> music),
int Function(Pointer<MixMusic> music)>('Mix_GetMusicVolume');
return mixGetMusicVolumeLookupFunction(music);
}