EMIPLIB
Public Member Functions

MIPWAVWriter Class Reference

This is a simple WAV file writer (8 bit, mono)

#include <mipwavwriter.h>

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

List of all members.

Public Member Functions

bool open (const std::string &fileName, int sampRate)
 Opens the WAV file specified in fileName at sampling rate sampRate.
bool close ()
 Closes the WAV file.
bool writeFrames (uint8_t *pBuffer, int numFrames)
 Writes a number of frames.

Member Function Documentation

bool MIPWAVWriter::writeFrames ( uint8_t *  pBuffer,
int  numFrames 
)

This function allows you to write sound data to the file. Note that currently only mono sound is supported.

Parameters:
pBufferSound data
numFramesNumber of frames in the buffer. Is currently equal to the number of bytes.

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