Function loadRaw

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

Chunk loadRaw (
  const(void[]) data
) @trusted;

Parameters

NameDescription
data buffer of the audio file

Returns

loaded Chunk

Throws

dsdl2.SDLException if unable to load