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

# ShapeDmaContext

> ShapeDmaContext

# ShapeDmaContext

## 函式

| 函式 | 描述 |
| - | - |
| [GetShapeDmaAudioBuffer](/zh-TW/reference/audio/shapedmacontext/functions/getshapedmaaudiobuffer) | 取得 DMA 音訊緩衝區。 |
| [GetShapeDmaBufferFull](/zh-TW/reference/audio/shapedmacontext/functions/getshapedmabufferfull) | 取得緩衝區已滿旗標。 |
| [GetShapeDmaBytesPerFrame](/zh-TW/reference/audio/shapedmacontext/functions/getshapedmabytesperframe) | 取得每個框架的位元組數目。 |
| [GetShapeDmaChannel](/zh-TW/reference/audio/shapedmacontext/functions/getshapedmachannel) | 取得目前的音訊聲道。 |
| [GetShapeDmaFloatSamples](/zh-TW/reference/audio/shapedmacontext/functions/getshapedmafloatsamples) | 取得旗標，指出樣本是浮點數還是 32 位元整數。 |
| [GetShapeDmaFramesAvailable](/zh-TW/reference/audio/shapedmacontext/functions/getshapedmaframesavailable) | 取得可供讀取的框架數目。 |
| [GetShapeDmaFramesFree](/zh-TW/reference/audio/shapedmacontext/functions/getshapedmaframesfree) | 取得可供寫入的框架數目。 |
| [GetShapeDmaMixBufferPeakMagnitude](/zh-TW/reference/audio/shapedmacontext/functions/getshapedmamixbufferpeakmagnitude) | 取得 DMA 混音緩衝區的峰值大小。 |
| [GetShapeDmaNumBytes](/zh-TW/reference/audio/shapedmacontext/functions/getshapedmanumbytes) | 取得音訊緩衝區中的位元組數目。 |
| [GetShapeDmaNumChannels](/zh-TW/reference/audio/shapedmacontext/functions/getshapedmanumchannels) | 取得 DMA 音訊緩衝區中的聲道數目。 |
| [GetShapeDmaNumFrames](/zh-TW/reference/audio/shapedmacontext/functions/getshapedmanumframes) | 取得 DMA 框架的數目。 |
| [GetShapeDmaPeakMagnitude](/zh-TW/reference/audio/shapedmacontext/functions/getshapedmapeakmagnitude) | 取得峰值大小。 |
| [GetShapeDmaReadPointer](/zh-TW/reference/audio/shapedmacontext/functions/getshapedmareadpointer) | 取得 DMA 讀取指標。 |
| [GetShapeDmaReadWriteFull](/zh-TW/reference/audio/shapedmacontext/functions/getshapedmareadwritefull) | 取得包含讀取和寫入指標以及緩衝區已滿旗標的 32 位元值。 |
| [GetShapeDmaTimestamp](/zh-TW/reference/audio/shapedmacontext/functions/getshapedmatimestamp) | 取得 DMA 時間戳記。 |
| [GetShapeDmaWritePointer](/zh-TW/reference/audio/shapedmacontext/functions/getshapedmawritepointer) | 取得 DMA 寫入指標。 |
| [IncrementShapeDmaReadPointer](/zh-TW/reference/audio/shapedmacontext/functions/incrementshapedmareadpointer) | 遞增讀取指標。 |
| [IncrementShapeDmaWritePointer](/zh-TW/reference/audio/shapedmacontext/functions/incrementshapedmawritepointer) | 遞增寫入指標。 |
| [SetShapeDmaAudioBuffer 函式](/zh-TW/reference/audio/shapedmacontext/functions/setshapedmaaudiobuffer) | 設定 DMA 音訊緩衝區。 |
| [SetShapeDmaAudioBuffer](/zh-TW/reference/audio/shapedmacontext/functions/setshapedmaaudiobuffer_2) | 設定 DMA 音訊緩衝區。 |
| [SetShapeDmaBufferFull](/zh-TW/reference/audio/shapedmacontext/functions/setshapedmabufferfull) | 設定緩衝區已滿旗標。 |
| [SetShapeDmaChannel](/zh-TW/reference/audio/shapedmacontext/functions/setshapedmachannel) | 設定目前的聲道。 |
| [SetShapeDmaFloatSamples](/zh-TW/reference/audio/shapedmacontext/functions/setshapedmafloatsamples) | 設定旗標，指出樣本是浮點數還是 32 位元整數。 |
| [SetShapeDmaNumChannels](/zh-TW/reference/audio/shapedmacontext/functions/setshapedmanumchannels) | 設定 DMA 音訊緩衝區中的聲道數目。 |
| [SetShapeDmaNumFrames](/zh-TW/reference/audio/shapedmacontext/functions/setshapedmanumframes) | 設定 DMA 框架的數目。 |
| [SetShapeDmaReadPointer](/zh-TW/reference/audio/shapedmacontext/functions/setshapedmareadpointer) | 設定 DMA 讀取指標。 |
| [SetShapeDmaReadWriteFull](/zh-TW/reference/audio/shapedmacontext/functions/setshapedmareadwritefull) | 以單一不可部分完成的作業設定讀取和寫入指標以及緩衝區已滿旗標。 |
| [SetShapeDmaWritePointer](/zh-TW/reference/audio/shapedmacontext/functions/setshapedmawritepointer) | 設定 DMA 寫入指標。 |

## 結構

| 結構 | 描述 |
| - | - |
| [SHAPE\_DMA\_CONTEXT](/zh-TW/reference/audio/shapedmacontext/structs/shape_dma_context) | DMA 內容結構。 |
| [SHAPE\_DMA\_READ\_WRITE\_FULL](/zh-TW/reference/audio/shapedmacontext/structs/shape_dma_read_write_full) | 用來在一次作業中查詢讀取和寫入指標以及緩衝區已滿旗標的結構。 |


## Related topics

- [ShapeDmaContext](/reference/audio/shapedmacontext/shapedmacontext_members.md)
- [SHAPE_DMA_CONTEXT](/reference/audio/shapedmacontext/structs/shape_dma_context.md)
- [GetShapeDmaTimestamp](/reference/audio/shapedmacontext/functions/getshapedmatimestamp.md)
- [GetShapeDmaNumChannels](/reference/audio/shapedmacontext/functions/getshapedmanumchannels.md)
- [GetShapeDmaChannel](/reference/audio/shapedmacontext/functions/getshapedmachannel.md)
