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

# ShapePcmContext

> ShapePcmContext

# ShapePcmContext

ShapePcmContext API

## 函式

| 函式 | 描述 |
| - | - |
| [GetShapePcmAudioBuffer](/zh-TW/reference/audio/shapepcmcontext/functions/getshapepcmaudiobuffer) | 取得 PCM 內容的音訊緩衝區。 |
| [GetShapePcmBufferFull](/zh-TW/reference/audio/shapepcmcontext/functions/getshapepcmbufferfull) | 取得緩衝區已滿旗標。 |
| [GetShapePcmBufferLength](/zh-TW/reference/audio/shapepcmcontext/functions/getshapepcmbufferlength) | 取得以樣本為單位的音訊緩衝區長度。 |
| [GetShapePcmFormat](/zh-TW/reference/audio/shapepcmcontext/functions/getshapepcmformat) | 取得 PCM 格式。 |
| [GetShapePcmLoopCount](/zh-TW/reference/audio/shapepcmcontext/functions/getshapepcmloopcount) | 取得迴圈計數。 |
| [GetShapePcmLoopEnd](/zh-TW/reference/audio/shapepcmcontext/functions/getshapepcmloopend) | 取得非框架對齊樣本的迴圈結尾。 |
| [GetShapePcmLoopStartOrWritePointer](/zh-TW/reference/audio/shapepcmcontext/functions/getshapepcmloopstartorwritepointer) | 取得線性緩衝區的迴圈起點，或循環緩衝區的寫入指標。 |
| [GetShapePcmMode](/zh-TW/reference/audio/shapepcmcontext/functions/getshapepcmmode) | 取得 PCM 模式。 |
| [GetShapePcmReadPointer](/zh-TW/reference/audio/shapepcmcontext/functions/getshapepcmreadpointer) | 取得讀取指標。 |
| [SetShapePcmAudioBuffer 函式](/zh-TW/reference/audio/shapepcmcontext/functions/setshapepcmaudiobuffer) | 使用虛擬指標設定 PCM 音訊緩衝區。 |
| [SetShapePcmAudioBuffer](/zh-TW/reference/audio/shapepcmcontext/functions/setshapepcmaudiobuffer_2) | 使用實體位址設定 PCM 音訊緩衝區。 |
| [SetShapePcmBufferFull](/zh-TW/reference/audio/shapepcmcontext/functions/setshapepcmbufferfull) | 設定緩衝區已滿旗標。 |
| [SetShapePcmBufferLength](/zh-TW/reference/audio/shapepcmcontext/functions/setshapepcmbufferlength) | 設定以樣本為單位的緩衝區長度。 |
| [SetShapePcmFormat](/zh-TW/reference/audio/shapepcmcontext/functions/setshapepcmformat) | 設定 PCM 格式。 |
| [SetShapePcmLoopCount](/zh-TW/reference/audio/shapepcmcontext/functions/setshapepcmloopcount) | 設定迴圈計數。 |
| [SetShapePcmLoopEnd](/zh-TW/reference/audio/shapepcmcontext/functions/setshapepcmloopend) | 設定非框架對齊樣本的迴圈結尾。 |
| [SetShapePcmLoopStartOrWritePointer](/zh-TW/reference/audio/shapepcmcontext/functions/setshapepcmloopstartorwritepointer) | 設定線性緩衝區的迴圈起點，或循環緩衝區的寫入指標。 |
| [SetShapePcmMode](/zh-TW/reference/audio/shapepcmcontext/functions/setshapepcmmode) | 設定 PCM 模式。 |
| [SetShapePcmReadPointer](/zh-TW/reference/audio/shapepcmcontext/functions/setshapepcmreadpointer) | 設定讀取指標。 |

## 結構

| 結構 | 描述 |
| - | - |
| [SHAPE\_PCM\_CONTEXT](/zh-TW/reference/audio/shapepcmcontext/structs/shape_pcm_context) | PCM 內容結構。 |

## 列舉

| 列舉 | 描述 |
| - | - |
| [SHAPE\_PCM\_FORMAT](/zh-TW/reference/audio/shapepcmcontext/enums/shape_pcm_format) | 指定 PCM 格式的列舉。 |
| [SHAPE\_PCM\_MODE](/zh-TW/reference/audio/shapepcmcontext/enums/shape_pcm_mode) | 指定 PCM 模式的列舉。 |


## Related topics

- [ACP 概觀](/zh-TW/build/console-features/audio/overviews/acp-overview.md)
- [SHAPE_PCM_CONTEXT](/zh-TW/reference/audio/shapepcmcontext/structs/shape_pcm_context.md)
- [SHAPE_PCM_MODE](/zh-TW/reference/audio/shapepcmcontext/enums/shape_pcm_mode.md)
- [SHAPE_PCM_FORMAT](/zh-TW/reference/audio/shapepcmcontext/enums/shape_pcm_format.md)
- [GetShapePcmFormat](/zh-TW/reference/audio/shapepcmcontext/functions/getshapepcmformat.md)
