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

# ShapeDmaContext

> ShapeDmaContext

# ShapeDmaContext

## 函式

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

## 結構

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


## Related topics

- [SHAPE_DMA_CONTEXT](https://docs.xbox.com/zh-TW/reference/audio/shapedmacontext/structs/shape_dma_context.md)
- [GetShapeDmaChannel](https://docs.xbox.com/zh-TW/reference/audio/shapedmacontext/functions/getshapedmachannel.md)
- [GetShapeDmaTimestamp](https://docs.xbox.com/zh-TW/reference/audio/shapedmacontext/functions/getshapedmatimestamp.md)
- [SetShapeDmaChannel](https://docs.xbox.com/zh-TW/reference/audio/shapedmacontext/functions/setshapedmachannel.md)
- [GetShapeDmaAudioBuffer](https://docs.xbox.com/zh-TW/reference/audio/shapedmacontext/functions/getshapedmaaudiobuffer.md)
