dmAudioRateConverterReset(3dm)

dmAudioRateConverterReset - fill internal buffers with constant value

As shipped in IRIX 6.5. First release of IRIX 6.5.

NAME
     dmAudioRateConverterReset - 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.


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).