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

ShapeSrcContext API

## 函式

| 函式 | 描述 |
| - | - |
| [GetShapeSrcCommandType](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/functions/getshapesrccommandtype.md) | 取得目前的 SRC 命令。 |
| [GetShapeSrcInternalSaturate](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/functions/getshapesrcinternalsaturate.md) | 取得內部飽和旗標。 |
| [GetShapeSrcMixBufferPeakMagnitude0](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/functions/getshapesrcmixbufferpeakmagnitude0.md) | 取得左聲道或單聲道之輸出混音緩衝區的峰值量值。 |
| [GetShapeSrcMixBufferPeakMagnitude1](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/functions/getshapesrcmixbufferpeakmagnitude1.md) | 取得右聲道或第二聲道之輸出混音緩衝區的峰值量值。 |
| [GetShapeSrcPeakMagnitude0](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/functions/getshapesrcpeakmagnitude0.md) | 取得左聲道的峰值量值。 |
| [GetShapeSrcPeakMagnitude1](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/functions/getshapesrcpeakmagnitude1.md) | 取得右聲道的峰值量值。 |
| [GetShapeSrcPitch](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/functions/getshapesrcpitch.md) | 取得音高。 |
| [GetShapeSrcPitchTarget](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/functions/getshapesrcpitchtarget.md) | 取得目標音高。 |
| [GetShapeSrcSampleCount](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/functions/getshapesrcsamplecount.md) | 取得樣本計數。 |
| [GetShapeSrcSamplePointer](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/functions/getshapesrcsamplepointer.md) | 取得目前的樣本指標。 |
| [GetShapeSrcTimestamp](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/functions/getshapesrctimestamp.md) | 取得 SRC 內容的時間戳記。 |
| [GetShapeSrcXmaBlocksToSkip](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/functions/getshapesrcxmablockstoskip.md) | 取得開始時要略過的 XMA 區塊數目。 |
| [PitchToShapeSrcSamplingIncrement](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/functions/pitchtoshapesrcsamplingincrement.md) | 將音高值轉換為 SRC 取樣增量。 |
| [SetShapeSrcCommand](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/functions/shapesrccontext_setshapesrccommand.md) | 設定 SRC 命令。 |
| [SetShapeSrcPitch](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/functions/setshapesrcpitch.md) | 設定音高。 |
| [SetShapeSrcPitchTarget](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/functions/setshapesrcpitchtarget.md) | 設定目標音高。 |
| [SetShapeSrcXmaBlocksToSkip](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/functions/setshapesrcxmablockstoskip.md) | 設定開始時要略過的 XMA 區塊數目。 |
| [ShapeSrcSamplingIncrementToPitch](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/functions/shapesrcsamplingincrementtopitch.md) | 將 SRC 取樣增量轉換為音高值。 |

## 結構

| 結構 | 描述 |
| - | - |
| [SHAPE\_SRC\_CONTEXT](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/structs/shape_src_context.md) | 取樣率轉換器 (SRC) 內容。 |

## 列舉

| 列舉 | 描述 |
| - | - |
| [SHAPE\_SRC\_COMMAND\_TYPE](https://docs.xbox.com/zh-TW/reference/audio/shapesrccontext/enums/shape_src_command_type.md) | SRC 命令。 |


## Related topics

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