Sets the compression filter coefficients.
HRESULT SetShapeEqCompFilterCoefficients(
SHAPE_EQCOMP_CONTEXT *context,
SHAPE_EQCOMP_FILTER_INDEX filterIndex,
float a1,
float a2,
float b0,
float b1,
float b2
)
context
Type: SHAPE_EQCOMP_CONTEXT *
[in, out] Pointer to a SHAPE_EQCOMP_CONTEXT structure.
filterIndex
Type: SHAPE_EQCOMP_FILTER_INDEX
One member of the SHAPE_EQCOMP_FILTER_INDEX enumeration.
a1
Type: float
a1.
a2
Type: float
a2.
b0
Type: float
b0.
b1
Type: float
b1.
b2
Type: float
b2.
Type: HRESULT
HRESULT success or error code.
Refer to the EQCOMP section of the SHAPE Overview for more details of the coefficients.
Header: Declared in shapeeqcompcontext.h.
Library: Use acphal.lib.