Ogg

An OGG audio file

Constructors

this
this(MemFile file)

Construct file from memory Check loadFile from ppc.backend.cfile if you want to load from a raw file.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

genericInfo
AudioInfo genericInfo()

Gets info in the generic AudioInfo format.

read
long read(byte* ptr, uint bufferLength, uint bitdepth, bool signed)

Read data of ogg stream in to specified buffer array by pointer. returns amount of bytes read

readArray
deprecated T[] readArray(uint bufferLength, uint bitdepth, bool signed)

Read data of ogg stream in to array of specified type. This in untested and should probably not be used see the read() function instead.

seek
void seek(long position)

Seek to a PCM position in file

seekRaw
void seekRaw(long position)

Seek to position in file

tell
size_t tell()

Returns the position in the stream

tellRaw
size_t tellRaw()

Returns the position in the stream

Variables

info
OggInfo info;

information related to the OGG file

Inherited Members

From AudioStream

genericInfo
AudioInfo genericInfo()
Undocumented in source.
read
long read(byte* ptr, uint bufferLength, uint bitdepth, bool signed)
Undocumented in source.
seekRaw
void seekRaw(long position)

Seek to position in file

seek
void seek(long position)

Seek to a PCM position in file

tellRaw
size_t tellRaw()

Returns the position in the stream

tell
size_t tell()

Returns the position in the stream

readArray
deprecated T[] readArray(uint bufferLength, uint bitdepth, bool signed)

Read data of ogg stream in to array of specified type. This in untested and should probably not be used see the read() function instead.

Meta