This function controls the gain, center frequency, and bandwidth of each band.
DWORD AAM_EQBandControl( DWORD dwIndex, DWORD dwFlags, LONG *plValue );
To set a property, use a bitwise OR to combine the chosen flag with AAM_FLAG_SET, and set pValue to the desired value. To get a property, use a bitwise OR to combine the chosen flag with AAM_FLAG_GET and pValue is set to the current value. To get the range, use a bitwise OR to combine the chosen flag with AAM_FLAG_RANGE, and pValue is set to the current value.
When you combine the AAM_FLAG_RANGE flag with one of the flags specified in dwFlags, pValue represents the following:
Zero indicates success. AAM_ERR_INVALIDPARAM indicates an invalid parameter. AAM_ERR_DEVICEFAIL indicates failure. AAM_ERR_NOTSUPPORTED indicates that the device does not support this feature.
This function is a member of the equalization API. The equalizer only supports decibel-based gain units.