Function initAudio
Wraps SDL_AudioInit
which initializes the audio subsystem while specifying the audio driver used
void initAudio
(
string driverName
) @trusted;
Parameters
Name | Description |
---|---|
driverName | the name of the audio driver |
Throws
dsdl
if the audio driver could not be initialized