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

# GetShapeSrcSampleCount

> GetShapeSrcSampleCount

# GetShapeSrcSampleCount

Obtém a contagem de amostras.

## Sintaxe

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

### Parâmetros

*context*   \_In\_\
Tipo: [SHAPE\_SRC\_CONTEXT](/pt-BR/reference/audio/shapesrccontext/structs/shape_src_context)\*

Ponteiro para um objeto [SHAPE\_SRC\_CONTEXT](/pt-BR/reference/audio/shapesrccontext/structs/shape_src_context).

### Valor retornado

Tipo: UINT32

A contagem de amostras.

## Comentários

Essa função obtém a contagem de amostras de áudio processadas desde o início da reprodução.

A contagem é armazenada no membro *sampleCount* do objeto [SHAPE\_SRC\_CONTEXT](/pt-BR/reference/audio/shapesrccontext/structs/shape_src_context). Para obter mais informações sobre o SRC, consulte [Bloco Sample Rate Convertor (SRC)](/pt-BR/build/console-features/audio/overviews/shape-overview#ID4EOE) em [Visão geral do SHAPE](/pt-BR/build/console-features/audio/overviews/shape-overview).

## Requisitos

**Cabeçalho:** shapesrccontext.h

**Plataformas com suporte:** consoles da família XBOX One e consoles XBOX Series

## Confira também

[ShapeSrcContext](/pt-BR/reference/audio/shapesrccontext/shapesrccontext_members)


## Related topics

- [ShapeSrcContext](/pt-BR/reference/audio/shapesrccontext/shapesrccontext_members.md)
- [GetShapeSrcSamplePointer](/pt-BR/reference/audio/shapesrccontext/functions/getshapesrcsamplepointer.md)
- [GetShapePcmLoopCount](/pt-BR/reference/audio/shapepcmcontext/functions/getshapepcmloopcount.md)
- [GetShapeSrcPitch](/pt-BR/reference/audio/shapesrccontext/functions/getshapesrcpitch.md)
- [SHAPE_SRC_CONTEXT](/pt-BR/reference/audio/shapesrccontext/structs/shape_src_context.md)
