Marsyas  0.5.0-beta1
Public Member Functions
OggFileSource Class Reference

OggFileSource read ogg files using vorbisfile. More...

#include <OggFileSource.h>

Inherits AbsSoundFileSource.

Public Member Functions

MarSystemclone () const
void getHeader (std::string filename)
void myProcess (realvec &in, realvec &out)
 OggFileSource (std::string name)
 OggFileSource (const OggFileSource &a)
 ~OggFileSource ()

Detailed Description

OggFileSource read ogg files using vorbisfile.

Taras Glek

This class reads an ogg file using the vorbis ogg decoder library.

Definition at line 42 of file OggFileSource.h.

Constructor & Destructor Documentation

OggFileSource ( std::string  name)

Definition at line 37 of file OggFileSource.cpp.

OggFileSource ( const OggFileSource a)

Definition at line 50 of file OggFileSource.cpp.

Definition at line 45 of file OggFileSource.cpp.

Member Function Documentation

MarSystem * clone ( ) const [virtual]

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.

void myProcess ( realvec in,
realvec out 
) [virtual]

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.

The documentation for this class was generated from the following files: