#include <oggvorbis.h>
Inheritance diagram for OggVorbis:
Public Member Functions | |
OggVorbis () | |
int | setFilename (const char *filename) |
int | open () |
int | close () |
int | fillBuffer (char *audioBuffer, int numBytes) |
char * | getSoundPath () |
|
Initializes the member pointers to NULL. |
|
Function for closing the file registered with setFilename.
Implements AudioFormat. |
|
Function to fill the buffer with PCM data. It fills the buffer with up to 'numBytes' bytes.
Implements AudioFormat. |
|
Function for retrieving the sound path.
Implements AudioFormat. |
|
Function for opening the file registered with setFilename.
Implements AudioFormat. |
|
Function for registering the given filename to be an ogg file. This function checks that the file can be opened and that it is a valid ogg file.
Implements AudioFormat. |