SetShapeEqCompFilterCoefficients

Sets the compression filter coefficients.

Syntax

HRESULT SetShapeEqCompFilterCoefficients(
         SHAPE_EQCOMP_CONTEXT *context,
         SHAPE_EQCOMP_FILTER_INDEX filterIndex,
         float a1,
         float a2,
         float b0,
         float b1,
         float b2
)  

Parameters

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.

Return value

Type: HRESULT 

HRESULT success or error code.

Remarks

Refer to the EQCOMP section of the SHAPE Overview for more details of the coefficients.

Requirements

Header: Declared in shapeeqcompcontext.h.

Library: Use acphal.lib.