dmAudioRateConverterReset(3dm) dmAudioRateConverterReset(3dm)
NAME
dmAudioRateConverterReset - fill internal buffers with constant value
SYNOPSIS
#include <dmedia/dmaudioutil.h>
#include <dmedia/dmedia.h>
DMstatus dmAudioRateConverterReset(DMaudiorateconverter handle, float resetval)
PARAMETER
handle DMaudiorateconverter structure
resetval value of DMTYPEFLOAT with which to fill internal audio
buffers.
RETURN VALUE
Returns DMFAILURE or DMSUCCESS.
DESCRIPTION
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.
SEE ALSO
dmAudioRateConverterSetParams(3dm), dmAudioRateConvert(3dm).
Page 1