dmAudioRateConverterCreate(3dm) dmAudioRateConverterCreate(3dm)
dmAudioRateConverterCreate - allocate new DMaudiorateconverter structure
#include <dmedia/dm_audioutil.h>
#include <dmedia/dm_params.h>
DMstatus dmAudioRateConverterCreate(DMaudiorateconverter *converter)
The converter is initialized with
default configuration:
Algorithm: Jitter Free
Input sampling rate: 44100 Hertz
Output samping rate: 22050 Hertz
Stop band attenuation: 78 Decibels
Transition band width: 20 %
The input and output data format is currently limited to single
channel, 32-bit floating point.
See dmAudioRateConverterSetParams(3dm) for parameter specification.
If successful, function returns the value DM_SUCCESS structure. A
DM_FAILURE return value indicates an error.
dmAudioRateConverterCreate(3dm) allocates and initializes an
DMaudiorateconverter structure. This structure is then used as the basic
argument for all Digital Media Library rate converter routines. The
converter is returned with clean internal buffers filled with value 0.0.
SEE ALSO
dmAudioRateConverterSetParams(3dm), dmAudioRateConverterDestroy(3dm).
PPPPaaaaggggeeee 1111 [ Back ]
|