Function openAudio

Wraps SDL_OpenAudio which opens the default audio device

dsdl2.audio.AudioSpec openAudio (
  dsdl2.audio.AudioSpec desired
) @trusted;

Parameters

NameDescription
desired desired dsdl2.AudioSpecifications

Returns

obtained dsdl2.AudioSpecifications