Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ dmAudioRateConverterReset(3dm) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dmAudioRateConverterSetParams(3dm)

dmAudioRateConvert(3dm)



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



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026