Music.hasDecoder

Wraps Mix_HasMusicDecoder (from SDL_mixer 2.6) which checks whether a music decoder is available

class Music
static @trusted
static if(sdlMixerSupport >= SDLMixerSupport.v2_6)
bool
hasDecoder
(
string decoder
)

Parameters

decoder string

name of the music decoder

Return Value

Type: bool

true if available, otherwise false

Meta