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

# ShapeSrcContext

> ShapeSrcContext

ShapeSrcContext APIs

## Functions

| Function | Description |
| - | - |
| [GetShapeSrcCommandType](https://docs.xbox.com/reference/audio/shapesrccontext/functions/getshapesrccommandtype.md) | Gets the current SRC command. |
| [GetShapeSrcInternalSaturate](https://docs.xbox.com/reference/audio/shapesrccontext/functions/getshapesrcinternalsaturate.md) | Gets the internal saturation flag. |
| [GetShapeSrcMixBufferPeakMagnitude0](https://docs.xbox.com/reference/audio/shapesrccontext/functions/getshapesrcmixbufferpeakmagnitude0.md) | Gets the peak magnitude of the output mix buffer for the left or mono channel. |
| [GetShapeSrcMixBufferPeakMagnitude1](https://docs.xbox.com/reference/audio/shapesrccontext/functions/getshapesrcmixbufferpeakmagnitude1.md) | Gets the peak magnitude of the output mix buffer for the right or second channel. |
| [GetShapeSrcPeakMagnitude0](https://docs.xbox.com/reference/audio/shapesrccontext/functions/getshapesrcpeakmagnitude0.md) | Gets the peak magnitude of the left channel. |
| [GetShapeSrcPeakMagnitude1](https://docs.xbox.com/reference/audio/shapesrccontext/functions/getshapesrcpeakmagnitude1.md) | Gets the peak magnitude of the right channel. |
| [GetShapeSrcPitch](https://docs.xbox.com/reference/audio/shapesrccontext/functions/getshapesrcpitch.md) | Gets the pitch. |
| [GetShapeSrcPitchTarget](https://docs.xbox.com/reference/audio/shapesrccontext/functions/getshapesrcpitchtarget.md) | Gets the pitch target. |
| [GetShapeSrcSampleCount](https://docs.xbox.com/reference/audio/shapesrccontext/functions/getshapesrcsamplecount.md) | Gets the sample count. |
| [GetShapeSrcSamplePointer](https://docs.xbox.com/reference/audio/shapesrccontext/functions/getshapesrcsamplepointer.md) | Gets the current sample pointer. |
| [GetShapeSrcTimestamp](https://docs.xbox.com/reference/audio/shapesrccontext/functions/getshapesrctimestamp.md) | Gets the time stamp of an SRC context. |
| [GetShapeSrcXmaBlocksToSkip](https://docs.xbox.com/reference/audio/shapesrccontext/functions/getshapesrcxmablockstoskip.md) | Gets the number of XMA blocks to skip when starting. |
| [PitchToShapeSrcSamplingIncrement](https://docs.xbox.com/reference/audio/shapesrccontext/functions/pitchtoshapesrcsamplingincrement.md) | Converts a pitch value to an SRC sampling increment. |
| [SetShapeSrcCommand](https://docs.xbox.com/reference/audio/shapesrccontext/functions/shapesrccontext_setshapesrccommand.md) | Sets the SRC command. |
| [SetShapeSrcPitch](https://docs.xbox.com/reference/audio/shapesrccontext/functions/setshapesrcpitch.md) | Sets the pitch. |
| [SetShapeSrcPitchTarget](https://docs.xbox.com/reference/audio/shapesrccontext/functions/setshapesrcpitchtarget.md) | Sets the pitch target. |
| [SetShapeSrcXmaBlocksToSkip](https://docs.xbox.com/reference/audio/shapesrccontext/functions/setshapesrcxmablockstoskip.md) | Sets the number of XMA blocks to skip when starting. |
| [ShapeSrcSamplingIncrementToPitch](https://docs.xbox.com/reference/audio/shapesrccontext/functions/shapesrcsamplingincrementtopitch.md) | Converts an SRC sampling increment to a pitch value. |

## Structures

| Structure | Description |
| - | - |
| [SHAPE\_SRC\_CONTEXT](https://docs.xbox.com/reference/audio/shapesrccontext/structs/shape_src_context.md) | The Sample Rate Convertor (SRC) context. |

## Enumerations

| Enumeration | Description |
| - | - |
| [SHAPE\_SRC\_COMMAND\_TYPE](https://docs.xbox.com/reference/audio/shapesrccontext/enums/shape_src_command_type.md) | SRC commands. |


## Related topics

- [SHAPE_SRC_CONTEXT](https://docs.xbox.com/reference/audio/shapesrccontext/structs/shape_src_context.md)
- [GetShapeSrcPitch](https://docs.xbox.com/reference/audio/shapesrccontext/functions/getshapesrcpitch.md)
- [GetShapeSrcTimestamp](https://docs.xbox.com/reference/audio/shapesrccontext/functions/getshapesrctimestamp.md)
- [SetShapeSrcCommand](https://docs.xbox.com/reference/audio/shapesrccontext/functions/shapesrccontext_setshapesrccommand.md)
- [SetShapeSrcPitch](https://docs.xbox.com/reference/audio/shapesrccontext/functions/setshapesrcpitch.md)
