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

# ShapeSrcContext

> ShapeSrcContext

# ShapeSrcContext

ShapeSrcContext APIs

## Functions

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

## Structures

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

## Enumerations

| Enumeration                                                                                | Description   |
| ------------------------------------------------------------------------------------------ | ------------- |
| [SHAPE\_SRC\_COMMAND\_TYPE](/reference/audio/shapesrccontext/enums/shape_src_command_type) | SRC commands. |


## Related topics

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