ASX Version4.10.32
Functions

Level control functions

These functions support level/trim control manipulation in line ins and line outs. More...

Functions

ASX32_API ASX_ERROR ASX_Level_Set (ASX_HANDLE hLevel, const float fGain)
 Set the analog input or output level (sometimes called trim).
ASX32_API ASX_ERROR ASX_Level_Get (ASX_HANDLE hLevel, float *fGain)
 Get the analog input or output level (sometimes called trim).
ASX32_API ASX_ERROR ASX_Level_GetRange (ASX_HANDLE hLevel, float *fMinGain, float *fMaxGain, float *fGainStep)
 Get that range of level settings available.

Detailed Description

These functions support level/trim control manipulation in line ins and line outs.


Function Documentation

ASX32_API ASX_ERROR ASX_Level_Get ( ASX_HANDLE  hLevel,
float *  fGain 
)

Get the analog input or output level (sometimes called trim).

Parameters:
hLevelA handle to an ASX level control.
fGainThe returned level reading. The level has the units of dBu.
Returns:
Returns 0 if there is no error, otherwise one of asxERROR is returned.
ASX32_API ASX_ERROR ASX_Level_GetRange ( ASX_HANDLE  hLevel,
float *  fMinGain,
float *  fMaxGain,
float *  fGainStep 
)

Get that range of level settings available.

Parameters:
hLevelA handle to an ASX level control.
fMinGainThe returned minimum gain in dBFS, i.e. 0dB is fullscale.
fMaxGainThe returned maximum gain in dBFS, i.e. 0dB is fullscale.
fGainStepThe returned gain stepsize in dB.
Returns:
Returns 0 if there is no error, otherwise one of asxERROR is returned.
ASX32_API ASX_ERROR ASX_Level_Set ( ASX_HANDLE  hLevel,
const float  fGain 
)

Set the analog input or output level (sometimes called trim).

Parameters:
hLevelA handle to an ASX level control.
fGainThe level to set. The level has the units of dBu. The typical range of settings for most AudioScience adapters is -10 to +26 dBu.
Returns:
Returns 0 if there is no error, otherwise one of asxERROR is returned.