initAudio

Wraps SDL_AudioInit which initializes the audio subsystem while specifying the audio driver used

@safe @trusted
void
initAudio
(
string driverName
)

Parameters

driverName string

the name of the audio driver

Throws

dsdl2.SDLException if the audio driver could not be initialized

Meta