IMixer.createSourceFromMemory

Create a source from file or memory. (All sources get destroyed automatically when the IMixer is destroyed).

  1. IAudioSource createSourceFromMemory(const(ubyte[]) inputData)
    interface IMixer
    nothrow @nogc
    createSourceFromMemory
    (
    const(ubyte[]) inputData
    )
  2. IAudioSource createSourceFromFile(const(char[]) path)

Return Value

null if loading failed

Meta