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

# GetShapeSrcTimestamp

> GetShapeSrcTimestamp

# GetShapeSrcTimestamp

Gets the time stamp of a Sample Rate Convertor (SRC) context.

## Syntax

```cpp theme={null}
UINT32 GetShapeSrcTimestamp(  
         const SHAPE_SRC_CONTEXT* context  
)  
```

### Parameters

*context*   \
Type: SHAPE\_SRC\_CONTEXT\*

Pointer to a [SHAPE\_SRC\_CONTEXT](/reference/audio/shapesrccontext/structs/shape_src_context) object.

### Return value

Type: UINT32

The time stamp.

## Remarks

The time stamp is a counter that indicates the order in which every block is processed. At the beginning of each flowgraph, the time stamp is reset to zero.

The time stamp is set on a context when the processing has been completed and the context is write-enabled.

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

## Requirements

**Header:** shapesrccontext.h

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

## See also

[SHAPE\_SRC\_CONTEXT](/reference/audio/shapesrccontext/structs/shape_src_context)\
[ShapeSrcContext](/reference/audio/shapesrccontext/shapesrccontext_members)


## Related topics

- [ShapeSrcContext](/reference/audio/shapesrccontext/shapesrccontext_members.md)
- [GetShapeSrcPitch](/reference/audio/shapesrccontext/functions/getshapesrcpitch.md)
- [GetShapeSrcCommandType](/reference/audio/shapesrccontext/functions/getshapesrccommandtype.md)
- [GetShapeDmaTimestamp](/reference/audio/shapedmacontext/functions/getshapedmatimestamp.md)
- [GetShapeSrcPeakMagnitude0](/reference/audio/shapesrccontext/functions/getshapesrcpeakmagnitude0.md)
