BaseSoundFile

The abstract basic class for sound file loading.

Constructors

this
this(string filename)

CTor

Members

Functions

_read
void _read(string filename)
Undocumented in source.
getBuffer
const(byte[]) getBuffer()

Returns the Sound Buffer

getData
const(SoundFile) getData()

Returns the SoundFile struct.

getFilename
string getFilename()

Returns the filename of the loaded sound file.

getLength
float getLength()

Returns the length of the sound in seconds.

getType
MusicType getType()

abstract getType method.

toString
string toString()

toString

Variables

_buffer
byte[] _buffer;
Undocumented in source.
_filename
string _filename;
Undocumented in source.
_sFile
SoundFile _sFile;
Undocumented in source.

Meta

Authors

rschuett