dmAudioRateConverterReset(3dm)dmAudioRateConverterReset(3dm)NAMEdmAudioRateConverterReset - fill internal buffers with constant value
SYNOPSIS
#include <dmedia/dm_audioutil.h>
#include <dmedia/dmedia.h>
DMstatus dmAudioRateConverterReset(DMaudiorateconverter handle, float resetval)
PARAMETER
handle DMaudiorateconverter structure
resetval value of DM_TYPE_FLOAT with which to fill internal audio
buffers.
RETURN VALUE
Returns DM_FAILURE or DM_SUCCESS.
DESCRIPTIONdmAudioRateConverterReset(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.
SEE ALSOdmAudioRateConverterSetParams(3dm), dmAudioRateConvert(3dm).
Page 1