Skip to main content

SetShapeFiltVolFrequencyTarget

Sets the frequency target of a FLTVOL context.

Syntax

Parameters

context   _Inout_
Type: SHAPE_FILTVOL_CONTEXT*
Pointer to a SHAPE_FILTVOL_CONTEXT object. frequencyTarget   
Type: float
The frequency target. 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 frequency target, use GetShapeFiltVolFrequencyTarget. 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

SetShapeFiltVolFrequency
ShapeFiltVolContext
Last modified on August 20, 2026