SDLMixer.this

Loads the SDL_mixer library and opens audio.

class SDLMixer
this
(,
int flags = MIX_INIT_FLAC | MIX_INIT_MOD | MIX_INIT_MP3 | MIX_INIT_OGG
,
int frequency = MIX_DEFAULT_FREQUENCY
,
ushort format = MIX_DEFAULT_FORMAT
,
int channels = MIX_DEFAULT_CHANNELS
,
int chunksize = 1024
)

Throws

SDL2Exception on error.

See Also

Meta