Marsyas  0.5.0-beta1
Public Member Functions
WavFileSink Class Reference

Writes to .wav soundfiles. More...

#include <WavFileSink.h>

Inherits AbsSoundFileSink.

Public Member Functions

bool checkExtension (std::string filename)
MarSystemclone () const
void myProcess (realvec &in, realvec &out)
 Processes data.
void putHeader (std::string filename)
void putLinear16Swap (realvec &slice)
 WavFileSink (std::string name)
 ~WavFileSink ()

Detailed Description

Writes to .wav soundfiles.

Definition at line 52 of file WavFileSink.h.


Constructor & Destructor Documentation

WavFileSink ( std::string  name)

Definition at line 25 of file WavFileSink.cpp.

Definition at line 37 of file WavFileSink.cpp.


Member Function Documentation

bool checkExtension ( std::string  filename)

Definition at line 67 of file WavFileSink.cpp.

MarSystem * clone ( ) const [virtual]

Implements MarSystem.

Definition at line 45 of file WavFileSink.cpp.

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

Processes data.

Parameters:
inInput data to read.
outOutput 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.


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