Compander control functions.


Detailed Description

These functions implement Compander settings.


Functions

ASX32_API ASX_ERROR ASX_Compander_Set (ASX_HANDLE hCompander, const unsigned short wAttack, const unsigned short wDecay, const short wRatio100, const short nThreshold0_01dB, const short nMakeupGain0_01dB)
 Sets the parameters for the compander.
ASX32_API ASX_ERROR ASX_Compander_Get (ASX_HANDLE hCompander, unsigned short *pwAttack, unsigned short *pwDecay, short *pwRatio100, short *pnThreshold0_01dB, short *pnMakeupGain0_01dB)
 Sets the parameters for the compander.


Function Documentation

ASX32_API ASX_ERROR ASX_Compander_Get ASX_HANDLE  hCompander,
unsigned short *  pwAttack,
unsigned short *  pwDecay,
short *  pwRatio100,
short *  pnThreshold0_01dB,
short *  pnMakeupGain0_01dB
 

Sets the parameters for the compander.

Parameters:
hCompander A handle to an ASX Compander control object.
pwAttack Gets compander attack time in milliseconds.
pwDecay Gets compander decay time in milliseconds.
pwRatio100 Gets the input to output gain ratio. Value is given in hundreths (wRatio100 = 72 means 0.72).
pnThreshold0_01dB Gets the threshold above which the ratio applies. Value is given in hundreths.
pnMakeupGain0_01dB Receives the positive or negative offset to the output gain. Value is given in hundreths.
Returns:
Returns 0 if there is no error, otherwise one of asxERROR is returned.

ASX32_API ASX_ERROR ASX_Compander_Set ASX_HANDLE  hCompander,
const unsigned short  wAttack,
const unsigned short  wDecay,
const short  wRatio100,
const short  nThreshold0_01dB,
const short  nMakeupGain0_01dB
 

Sets the parameters for the compander.

Parameters:
hCompander A handle to an ASX Compander control object.
wAttack Sets compander attack time in milliseconds.
wDecay Sets compander decay time in milliseconds.
wRatio100 Sets the input to output gain ratio. Value is given in hundreths (wRatio100 = 72 means 0.72).
nThreshold0_01dB Sets the threshold above which the ratio applies. Value is given in hundreths.
nMakeupGain0_01dB Adds a positive or negative offset to the output gain. Value is given in hundreths.
Returns:
Returns 0 if there is no error, otherwise one of asxERROR is returned.


Generated on Tue Nov 18 13:03:41 2008 for ASX by  doxygen 1.4.6-NO