SoundBuffer.loadFromMemory

Load the sound buffer from a file in memory.

Here is a complete list of all the supported audio formats: ogg, wav, flac, aiff, au, raw, paf, svx, nist, voc, ircam, w64, mat4, mat5 pvf, htk, sds, avr, sd2, caf, wve, mpc2k, rf64.

class SoundBuffer
bool
loadFromMemory
(
const(void)[] data
)

Parameters

data const(void)[]

The array of data

Return Value

Type: bool

True if loading succeeded, false if it failed

Meta