Skip to main content

SetShapeFiltVolOutputGain

Sets the output gain.

Syntax

Parameters

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

Return value

Type: HRESULT HRESULT success or error code.

Remarks

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

SetShapeFiltVolOutputGainTarget
ShapeFiltVolContext
Last modified on August 20, 2026