Skip to main content

SetShapeFiltVolQ

Sets the Q (quality) factor.

Syntax

Parameters

context   _Inout_
Type: SHAPE_FILTVOL_CONTEXT*
Pointer to a SHAPE_FILTVOL_CONTEXT object. q   
Type: float
The Q factor.

Return value

Type: HRESULT HRESULT success or error code.

Remarks

The Filter/Volume (FLTVOL) block is implemented as a Chamberlin filter. The greater the value of Q, the narrower the bandwidth of the filter. To get the current value of Q, use GetShapeFiltVolQ. The filtering behavior is designed to be identical to that in XAudio2. For more information, see the Filter/volume block (FLTVOL) section of Overview of SHAPE.

Requirements

Header: shapefiltvolcontext.h Supported platforms: XBOX One family consoles and XBOX Series consoles

See also

SetShapeFiltVolQTarget
ShapeFiltVolContext
Last modified on August 20, 2026