IMixer.createSourceFromFile

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

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

Return Value

null if loading failed

Meta