Skip to main content

SetShapeFiltVolFrequency

Sets the corner frequency of a FLTVOL context.

Syntax

Parameters

context   _Inout_
Type: SHAPE_FILTVOL_CONTEXT*
Pointer to a SHAPE_FILTVOL_CONTEXT object. frequency   
Type: float
The corner frequency. Must be in the range 0-7999 Hz.

Return value

Type: HRESULT HRESULT success or error code.

Remarks

The Filter/Volume (FLTVOL) block is implemented as a Chamberlin filter. To get the current corner frequency, use GetShapeFiltVolFrequency. 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

SetShapeFiltVolFrequencyTarget
ShapeFiltVolContext
Last modified on August 20, 2026