Function Music.hasDecoder

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

static bool hasDecoder (
  string decoder
) @trusted;

Parameters

NameDescription
decoder name of the music decoder

Returns

true if available, otherwise false