dmAudioRateConverterReset(3dm) dmAudioRateConverterReset(3dm)
dmAudioRateConverterReset - fill internal buffers with constant value
#include <dmedia/dm_audioutil.h>
#include <dmedia/dmedia.h>
DMstatus dmAudioRateConverterReset(DMaudiorateconverter handle, float resetval)
handle DMaudiorateconverter structure
resetval value of DM_TYPE_FLOAT with which to fill internal audio
buffers.
Returns DM_FAILURE or DM_SUCCESS.
dmAudioRateConverterReset(3dm) fills the converter's internal filter
delay buffers with constant value resetval. Call this function whenever
the converter's input data flow has been interrupted.
In the presence of a DC offset, the value that represents "audio zero" or
silence, the buffers should be filled with the DC value instead of 0.0 to
avoid clicks. DC offset varies from system to system, over time and
temperature and increases with the analog audio hardware input gain.
By default, we recommend using 0.0.
dmAudioRateConverterSetParams(3dm), dmAudioRateConvert(3dm).
PPPPaaaaggggeeee 1111 [ Back ]
|