sdl2_mixer formula