Marsyas
0.6.0-alpha
|
Writes to .wav soundfiles. More...
#include <WavFileSink.h>
Inherits AbsSoundFileSink.
Public Member Functions | |
bool | checkExtension (std::string filename) |
MarSystem * | clone () const |
void | myProcess (realvec &in, realvec &out) |
Processes data. | |
void | putHeader (std::string filename) |
void | putLinear16Swap (realvec &slice) |
WavFileSink (std::string name) | |
~WavFileSink () |
Writes to .wav soundfiles.
Definition at line 52 of file WavFileSink.h.
WavFileSink | ( | std::string | name | ) |
Definition at line 25 of file WavFileSink.cpp.
~WavFileSink | ( | ) |
Definition at line 37 of file WavFileSink.cpp.
bool checkExtension | ( | std::string | filename | ) |
Definition at line 67 of file WavFileSink.cpp.
Implements MarSystem.
Definition at line 45 of file WavFileSink.cpp.
Processes data.
in | Input data to read. |
out | Output data to write. |
Implement this method in subclass to define specific data processing.
Implements AbsSoundFileSink.
Definition at line 190 of file WavFileSink.cpp.
void putHeader | ( | std::string | filename | ) | [virtual] |
Implements AbsSoundFileSink.
Definition at line 101 of file WavFileSink.cpp.
void putLinear16Swap | ( | realvec & | slice | ) |
Definition at line 171 of file WavFileSink.cpp.