Skip to main content

SetShapeFiltVolOutputGainTarget

Sets the output gain target.

Syntax

Parameters

context   _Inout_
Type: SHAPE_FILTVOL_CONTEXT*
Pointer to a SHAPE_FILTVOL_CONTEXT object. outputGainTarget   
Type: float
The output gain target.

Return value

Type: HRESULT HRESULT success or error code.

Remarks

Gain target and gain are amplitude values in the range of -2.0 to 2.0, with negative values inverting the signal. To get the current output gain target, use GetShapeFiltVolOutputGainTarget. 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

SetShapeFiltVolOutputGain
ShapeFiltVolContext
Last modified on August 20, 2026