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

## 函式

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

## 結構

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

## 列舉

| 列舉 | 描述 |
| - | - |
| [SHAPE\_SRC\_COMMAND\_TYPE](/zh-TW/reference/audio/shapesrccontext/enums/shape_src_command_type) | SRC 命令。 |


## Related topics

- [ShapeSrcContext](/reference/audio/shapesrccontext/shapesrccontext_members.md)
- [SHAPE_SRC_CONTEXT](/reference/audio/shapesrccontext/structs/shape_src_context.md)
