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

# GetShapeDmaTimestamp

> GetShapeDmaTimestamp

Gets the Direct Memory Access (DMA) time stamp.

## Syntax

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

### Parameters

*context*   \_In\_\
Type: [SHAPE\_DMA\_CONTEXT\*](https://docs.xbox.com/reference/audio/shapedmacontext/structs/shape_dma_context.md)

Pointer to a [SHAPE\_DMA\_CONTEXT](https://docs.xbox.com/reference/audio/shapedmacontext/structs/shape_dma_context.md) structure.

### Return value

Type: UINT32

The DMA time stamp.

## Remarks

The time stamp is a counter that is reset to zero at the beginning of each flowgraph. It indicates the order of processing of each block. The time stamp is set on a context when processing is complete and the context is write-enabled.

For more information on flowgraphs, see [Flowgraphs](https://docs.xbox.com/build/console-features/audio/overviews/acp-overview.md#ID4EVB).

## Requirements

**Header:** shapedmacontext.h

**Supported platforms:** XBOX One family consoles and XBOX Series consoles

## See also

[SHAPE\_DMA\_CONTEXT](https://docs.xbox.com/reference/audio/shapedmacontext/structs/shape_dma_context.md)\
[ShapeDmaContext](https://docs.xbox.com/reference/audio/shapedmacontext/shapedmacontext_members.md)


## Related topics

- [ShapeDmaContext](https://docs.xbox.com/reference/audio/shapedmacontext/shapedmacontext_members.md)
- [GetShapeDmaChannel](https://docs.xbox.com/reference/audio/shapedmacontext/functions/getshapedmachannel.md)
- [GetShapeDmaFloatSamples](https://docs.xbox.com/reference/audio/shapedmacontext/functions/getshapedmafloatsamples.md)
- [GetShapeDmaFramesAvailable](https://docs.xbox.com/reference/audio/shapedmacontext/functions/getshapedmaframesavailable.md)
- [GetShapeDmaFramesFree](https://docs.xbox.com/reference/audio/shapedmacontext/functions/getshapedmaframesfree.md)
