loadRaw

Wraps Mix_LoadWAV_RW which loads an audio file from a buffer to a dsdl2.mixer.Chunk

@safe @trusted
static if(bindSDLMixer)
loadRaw
(
const void[] data
)

Parameters

data void[]

buffer of the audio file

Return Value

Type: Chunk

loaded dsdl2.mixer.Chunk

Throws

dsdl2.SDLException if unable to load

Meta