> ## 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.

# GetShapeXmaInputBuffer0Size

> GetShapeXmaInputBuffer0Size

Gets the size of the left input buffer.

## Syntax

```cpp theme={null}
UINT32 GetShapeXmaInputBuffer0Size(  
         const SHAPE_XMA_CONTEXT* context  
)  
```

### Parameters

*context*   \_In\_\
Type: [SHAPE\_XMA\_CONTEXT](https://docs.xbox.com/reference/audio/shapexmacontext/structs/shape_xma_context.md)\*

Pointer to a [SHAPE\_XMA\_CONTEXT](https://docs.xbox.com/reference/audio/shapexmacontext/structs/shape_xma_context.md) object.

### Return value

Type: UINT32

The size of the left input buffer in bytes.

## Remarks

To get the size of the right input buffer, use [GetShapeXmaInputBuffer1Size](https://docs.xbox.com/reference/audio/shapexmacontext/functions/getshapexmainputbuffer1size.md).

To set the size of the left input buffer, use [SetShapeXmaInputBuffer0Size](https://docs.xbox.com/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0size.md).

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

## Requirements

**Header:** shapexmacontext.h

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

## See also

[ShapeXmaContext](https://docs.xbox.com/reference/audio/shapexmacontext/shapexmacontext_members.md)


## Related topics

- [SetShapeXmaInputBuffer0Size](https://docs.xbox.com/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0size.md)
- [GetShapeXmaInputBuffer1Size](https://docs.xbox.com/reference/audio/shapexmacontext/functions/getshapexmainputbuffer1size.md)
- [GetShapeXmaOutputBufferSize](https://docs.xbox.com/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffersize.md)
- [ShapeXmaContext](https://docs.xbox.com/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [GetShapeXmaInputBuffer0](https://docs.xbox.com/reference/audio/shapexmacontext/functions/getshapexmainputbuffer0.md)
