#include <audioformat.h>
Inheritance diagram for AudioFormat:
Public Member Functions | |
virtual int | setFilename (const char *filename)=0 |
virtual int | open ()=0 |
virtual int | close ()=0 |
virtual int | fillBuffer (char *audioBuffer, int numBytes)=0 |
virtual char * | getSoundPath ()=0 |
|
Abstract function for closing the file registered with setFilename.
Implemented in OggVorbis. |
|
Abstract function for filling the buffer with raw PCM data. It fills the buffer with up to 'numBytes' bytes.
Implemented in OggVorbis. |
|
Abstract function for retrieving the sound path.
Implemented in OggVorbis. |
|
Abstract function for opening the file registered with setFilename.
Implemented in OggVorbis. |
|
Abstract function for registering the given filename to be an audio format file. This function checks that the file can be opened and that it is a valid audio format file.
Implemented in OggVorbis. |