Functions | |
| HPI_ERR | HPI_ParametricEQ_GetInfo (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, HW16 *pwNumberOfBands, HW16 *pwOnOff) |
| Find out the number of available bands of a parametric equalizer, and whether it is enabled or not. | |
| HPI_ERR | HPI_ParametricEQ_SetState (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, HW16 wOnOff) |
| Turn a parametric equalizer on or off. | |
| HPI_ERR | HPI_ParametricEQ_GetBand (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, HW16 wIndex, HW16 *pnType, HW32 *pdwFrequencyHz, short *pnQ100, short *pnGain0_01dB) |
| Get the settings of one of the filters in a parametric equalizer. | |
| HPI_ERR | HPI_ParametricEQ_SetBand (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, HW16 wIndex, HW16 nType, HW32 dwFrequencyHz, short nQ100, short nGain0_01dB) |
| Set up one of the filters in a parametric equalizer. | |
| HPI_ERR | HPI_ParametricEQ_GetCoeffs (HPI_HSUBSYS *phSubSys, HPI_HCONTROL hControl, HW16 wIndex, short coeffs[5]) |
| Retrieve the calculated IIR filter coefficients (scaled by 1000 into integers). | |
The number of filters available is obtained by calling HPI_ParametricEQ_GetInfo(), then the characteristics of each filter are configured using HPI_ParametricEQ_SetBand().
The equalizer as a whole can be turned on and off using HPI_ParametricEQ_SetState(). Filters can still be set up when the equalizer is switched off.
Equalizers are typically located on a LineIn input node or an OutStream node.
Obtain a control handle to an equalizer like this:
wHE = HPI_MixerGetControl( phSubSys, hMixer, HPI_SOURCENODE_LINEIN, 0, 0,0, // No destination node HPI_CONTROL_PARAMETRIC_EQ, &hControl );
|
||||||||||||||||||||
|
Find out the number of available bands of a parametric equalizer, and whether it is enabled or not.
|
|
||||||||||||||||
|
Turn a parametric equalizer on or off.
|
|
||||||||||||||||||||||||||||||||
|
Get the settings of one of the filters in a parametric equalizer. See HPI_ParametricEQ_SetBand() for details of parameter interpretation.
|
|
||||||||||||||||||||||||||||||||
|
Set up one of the filters in a parametric equalizer. Set the parameters for one equalizer filter. The overall equalizer response will be a product of all its filter responses.
|
|
||||||||||||||||||||
|
Retrieve the calculated IIR filter coefficients (scaled by 1000 into integers).
|
1.4.6-NO