Marsyas
0.6.0-alpha
|
OggFileSource read ogg files using vorbisfile. More...
#include <OggFileSource.h>
Inherits AbsSoundFileSource.
Public Member Functions | |
MarSystem * | clone () const |
void | getHeader (std::string filename) |
void | myProcess (realvec &in, realvec &out) |
OggFileSource (std::string name) | |
OggFileSource (const OggFileSource &a) | |
~OggFileSource () |
OggFileSource read ogg files using vorbisfile.
This class reads an ogg file using the vorbis ogg decoder library.
Definition at line 42 of file OggFileSource.h.
OggFileSource | ( | std::string | name | ) |
Definition at line 37 of file OggFileSource.cpp.
OggFileSource | ( | const OggFileSource & | a | ) |
Definition at line 50 of file OggFileSource.cpp.
~OggFileSource | ( | ) |
Definition at line 45 of file OggFileSource.cpp.
Implements MarSystem.
Definition at line 72 of file OggFileSource.cpp.
void getHeader | ( | std::string | filename | ) | [virtual] |
Function: getHeader Description: Opens the Ogg file and collects all the necessary information to update the MarSystem.
Implements AbsSoundFileSource.
Definition at line 133 of file OggFileSource.cpp.
Function: process Description: Fills an output vector with samples. In this case, getLinear16 does all the work.
Implements AbsSoundFileSource.
Definition at line 207 of file OggFileSource.cpp.