EMIPLIB
Public Member Functions

MIPSamplingRateConverter Class Reference

Converts sampling rate and number of channels of raw audio messages. More...

#include <mipsamplingrateconverter.h>

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

List of all members.

Public Member Functions

bool init (int outRate, int outChannels, bool floatSamples=true)
 Initialize the sampling rate converter.

Detailed Description

This component accepts incoming floating point or 16 bit signed integer raw audio messages and produces similar messages with a specific sampling rate and number of channels set during initialization.


Member Function Documentation

bool MIPSamplingRateConverter::init ( int  outRate,
int  outChannels,
bool  floatSamples = true 
)

This function instructs the converter to generate raw audio messages with sampling rate outRate and number of channels outChannels. If the floatSamples flag is set, floating point samples will be used, otherwise 16 bit signed native endian samples will be used.


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