> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetShapeFiltVolInputHeadroom

> GetShapeFiltVolInputHeadroom

Gets the input headroom.

## Syntax

```cpp theme={null}
SHAPE_FILTER_HEADROOM GetShapeFiltVolInputHeadroom(  
         const SHAPE_FILTVOL_CONTEXT* context  
)  
```

### Parameters

*context*   \_In\_\
Type: [SHAPE\_FILTVOL\_CONTEXT](https://docs.xbox.com/reference/audio/shapefiltvolcontext/structs/shape_filtvol_context.md)\*

Pointer to a [SHAPE\_FILTVOL\_CONTEXT](https://docs.xbox.com/reference/audio/shapefiltvolcontext/structs/shape_filtvol_context.md) object.

### Return value

Type: SHAPE\_FILTER\_HEADROOM

A member of the [SHAPE\_FILTER\_HEADROOM](https://docs.xbox.com/reference/audio/shapefiltvolcontext/enums/shape_filter_headroom.md) enumeration.

## Remarks

The state variable filter, by its nature, can create resonances causing intermediate values to exceed 1.0 (or -1.0). To mitigate the issues created by intermediate value saturation, the FLTVOL block has a programmable amount of headroom scaling, which is applied to the incoming signal and then compensated for upon output.

For more information, see the [Filter/volume block (FLTVOL)](https://docs.xbox.com/build/console-features/audio/overviews/shape-overview.md#ID4EBH) section of [Overview of SHAPE](https://docs.xbox.com/build/console-features/audio/overviews/shape-overview.md).

## Requirements

**Header:** shapefiltvolcontext.h

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

## See also

[SetShapeFiltVolInputHeadroom](https://docs.xbox.com/reference/audio/shapefiltvolcontext/functions/setshapefiltvolinputheadroom.md)\
[ShapeFiltVolContext](https://docs.xbox.com/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members.md)


## Related topics

- [SetShapeFiltVolInputHeadroom](https://docs.xbox.com/reference/audio/shapefiltvolcontext/functions/setshapefiltvolinputheadroom.md)
- [SHAPE_FILTER_HEADROOM](https://docs.xbox.com/reference/audio/shapefiltvolcontext/enums/shape_filter_headroom.md)
- [ShapeFiltVolContext](https://docs.xbox.com/reference/audio/shapefiltvolcontext/shapefiltvolcontext_members.md)
- [GetShapeFiltVolInternalSaturate](https://docs.xbox.com/reference/audio/shapefiltvolcontext/functions/getshapefiltvolinternalsaturate.md)
- [GetShapeFiltVolQ](https://docs.xbox.com/reference/audio/shapefiltvolcontext/functions/getshapefiltvolq.md)
