|
EMIPLIB
|
Converts sampling rate and number of channels of raw audio messages. More...
#include <mipsamplingrateconverter.h>


Public Member Functions | |
| bool | init (int outRate, int outChannels, bool floatSamples=true) |
| Initialize the sampling rate converter. | |
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.
| 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.
1.7.3