Function loadMusic

Wraps Mix_LoadMUS which loads an audio file from the filesystem to a Music

Music loadMusic (
  string file
) @trusted;

Parameters

NameDescription
file path to the audio file

Returns

loaded Music

Throws

dsdl2.SDLException if unable to load