Level Control
[Mixer and Controls]

The level control sets the full scale reference level of the line (analog) inputs and outputs The level is in units of 0.01dBu (0dBu = 0.775 VRMS). More...

Functions

HPI_ERR HPI_LevelQueryRange (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, short *nMinGain_01dB, short *nMaxGain_01dB, short *nStepGain_01dB)
 Query the range of a volume or level control.
HPI_ERR HPI_LevelSetGain (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, short anGain0_01dB[HPI_MAX_CHANNELS])
 Sets the gain of a level control.
HPI_ERR HPI_LevelGetGain (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, short anGain0_01dB[HPI_MAX_CHANNELS])
 Gets the gain of a level control.

Detailed Description

The level control sets the full scale reference level of the line (analog) inputs and outputs The level is in units of 0.01dBu (0dBu = 0.775 VRMS).

Use HPI_LevelQueryRange() to get the range of a level control.


Function Documentation

HPI_ERR HPI_LevelQueryRange HPI_HSUBSYS *  phSubSys,
HPI_HCONTROL  hControl,
short *  nMinGain_01dB,
short *  nMaxGain_01dB,
short *  nStepGain_01dB
 

Query the range of a volume or level control.

Gets the max,min and step of the specified level control.

Returns:
0 on success, or one of the HPI Error codes.
Parameters:
phSubSys  Pointer to HPI subsystem handle.
hControl  Handle to level control.
nMinGain_01dB  Minimum gain setting in 100ths of a dB.
nMaxGain_01dB  Maximum gain setting in 100ths of a dB.
nStepGain_01dB  Step size in 100ths of a dB.

HPI_ERR HPI_LevelSetGain HPI_HSUBSYS *  phSubSys,
HPI_HCONTROL  hControl,
short  anGain0_01dB[HPI_MAX_CHANNELS]
 

Sets the gain of a level control.

The level, or trim as it is sometimes called, sets the level of an analog input or output of a HPI_CONTROL_LEVEL control. The gains will typically range between 0 and +24dBu.

Note:
The gain is stereo.
Returns:
0 on success, or one of the HPI Error codes.
Parameters:
phSubSys  Pointer to HPI subsystem handle.
hControl  Handle to control of type HPI_CONTROL_LEVEL.
anGain0_01dB  Array containing the level control gain. The gain is in units of 0.01 dBu, where 0dBu = 0.775VRMS. For example a gain of 1400 is 14dBu. Index 0 is the left channel and index 1 is the right channel.

HPI_ERR HPI_LevelGetGain HPI_HSUBSYS *  phSubSys,
HPI_HCONTROL  hControl,
short  anGain0_01dB[HPI_MAX_CHANNELS]
 

Gets the gain of a level control.

Gets the level of an analog input or output of a HPI_CONTROL_LEVEL control. The gains will typically range between 0 and +24dBu.

Note:
The gain is stereo.
Returns:
0 on success, or one of the HPI Error codes.
Parameters:
phSubSys  Pointer to HPI subsystem handle.
hControl  Handle to control of type HPI_CONTROL_LEVEL.
anGain0_01dB  Array containing the level control gain. The gain is in units of 0.01 dBu, where 0dBu = 0.775VRMS. For example a gain of 1400 is 14dBu. Index 0 is the left channel and index 1 is the right channel.


Generated on Tue Nov 18 12:59:31 2008 for AudioScience HPI by  doxygen 1.4.6-NO