EMIPLIB
Public Member Functions

MIPWAVOutput Class Reference

A sound file output component. More...

#include <mipwavoutput.h>

Inheritance diagram for MIPWAVOutput:
Inheritance graph
[legend]
Collaboration diagram for MIPWAVOutput:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool open (const std::string &fname, int sampRate)
 Opens a sound file.
bool close ()
 Closes the sound file.

Detailed Description

This component writes incoming sound data to a file. It uses an internal simple WAV file write to accomplish this. Incoming messages have to be unsigned 8 bit audio messages. No messages are generated by this component.


Member Function Documentation

bool MIPWAVOutput::close ( )

Using this function, a previously opened sound file can be closed again.

bool MIPWAVOutput::open ( const std::string &  fname,
int  sampRate 
)

This function opens a sound file.

Parameters:
fnameThe name of the file.
sampRateThe sampling rate.

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