Function Music.command

Wraps Mix_SetMusicCMD which sets a command to be called when a new music is played

static void command (
  string newCommand
) @property @trusted;

Parameters

NameDescription
newCommand trigger command

Throws

dsdl2.SDLException if failed to set command