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

# GetShapeDmaTimestamp

> GetShapeDmaTimestamp

# GetShapeDmaTimestamp

取得直接記憶體存取 (DMA) 時間戳記。

## 語法

```cpp theme={null}
UINT32 GetShapeDmaTimestamp(  
         const SHAPE_DMA_CONTEXT* context  
)  
```

### 參數

*context*   \_In\_\
類型: [SHAPE\_DMA\_CONTEXT\*](/zh-TW/reference/audio/shapedmacontext/structs/shape_dma_context)

[SHAPE\_DMA\_CONTEXT](/zh-TW/reference/audio/shapedmacontext/structs/shape_dma_context) 結構的指標。

### 傳回值

類型: UINT32

DMA 時間戳記。

## 備註

時間戳記是在每個流程圖開始時重設為零的計數器。它表示每個區塊的處理順序。當處理完成且內容已啟用寫入時，就會在內容上設定時間戳記。

如需流程圖的詳細資訊，請參閱[流程圖](/zh-TW/build/console-features/audio/overviews/acp-overview#ID4EVB)。

## 需求

**標頭:** shapedmacontext.h

**支援的平台:** XBOX One 系列主機和 XBOX Series 主機

## 另請參閱

[SHAPE\_DMA\_CONTEXT](/zh-TW/reference/audio/shapedmacontext/structs/shape_dma_context)\
[ShapeDmaContext](/zh-TW/reference/audio/shapedmacontext/shapedmacontext_members)


## Related topics

- [GetShapeDmaTimestamp](/es/reference/audio/shapedmacontext/functions/getshapedmatimestamp.md)
- [ShapeDmaContext](/reference/audio/shapedmacontext/shapedmacontext_members.md)
- [GetShapeDmaChannel](/reference/audio/shapedmacontext/functions/getshapedmachannel.md)
- [GetShapeSrcTimestamp](/reference/audio/shapesrccontext/functions/getshapesrctimestamp.md)
