Marsyas
0.6.0-alpha
|
Abstract Interface for SoundFileSinks of various formats. More...
#include <AbsSoundFileSink.h>
Inherits MarSystem.
Inherited by AuFileSink, MP3FileSink, and WavFileSink.
Public Member Functions | |
AbsSoundFileSink (std::string type, std::string name) | |
AbsSoundFileSink (const AbsSoundFileSink &a) | |
virtual void | myProcess (realvec &in, realvec &out)=0 |
Processes data. | |
virtual void | putHeader (std::string filename)=0 |
virtual | ~AbsSoundFileSink () |
Data Fields | |
bool | hasData_ |
mrs_natural | pos_ |
Abstract Interface for SoundFileSinks of various formats.
Definition at line 34 of file AbsSoundFileSink.h.
AbsSoundFileSink | ( | std::string | type, |
std::string | name | ||
) |
Definition at line 25 of file AbsSoundFileSink.cpp.
~AbsSoundFileSink | ( | ) | [virtual] |
Definition at line 29 of file AbsSoundFileSink.cpp.
AbsSoundFileSink | ( | const AbsSoundFileSink & | a | ) |
Definition at line 33 of file AbsSoundFileSink.cpp.
Processes data.
in | Input data to read. |
out | Output data to write. |
Implement this method in subclass to define specific data processing.
Implements MarSystem.
Implemented in WavFileSink, AuFileSink, and MP3FileSink.
virtual void putHeader | ( | std::string | filename | ) | [pure virtual] |
Implemented in WavFileSink, AuFileSink, and MP3FileSink.
bool hasData_ |
Definition at line 47 of file AbsSoundFileSink.h.
Definition at line 46 of file AbsSoundFileSink.h.