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

# PitchToShapeSrcSamplingIncrement

> PitchToShapeSrcSamplingIncrement

# PitchToShapeSrcSamplingIncrement

Converte um valor de pitch em um incremento de amostragem do Sample Rate Convertor (SRC).

## Sintaxe

```cpp theme={null}
UINT32 PitchToShapeSrcSamplingIncrement(  
         float val  
)  
```

### Parâmetros

*val*   \
Tipo: float

O pitch.

### Valor retornado

Tipo: UINT32

O incremento de amostragem.

## Comentários

Os valores de pitch estão no intervalo de 0,0625 a 3,99. (No entanto, valores fora desse intervalo não retornam um erro.)

Para converter um incremento de amostragem em um valor de pitch, use [ShapeSrcSamplingIncrementToPitch](/pt-BR/reference/audio/shapesrccontext/functions/shapesrcsamplingincrementtopitch).

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

- [ShapeSrcSamplingIncrementToPitch](/pt-BR/reference/audio/shapesrccontext/functions/shapesrcsamplingincrementtopitch.md)
- [ShapeSrcContext](/pt-BR/reference/audio/shapesrccontext/shapesrccontext_members.md)
- [ACP_COMMAND_UPDATE_SRC_CONTEXT](/pt-BR/reference/audio/acphal/structs/acp_command_update_src_context.md)
- [ACP_COMMAND_UPDATE_SRC_CONTEXT_ENTRY](/pt-BR/reference/audio/acphal/structs/acp_command_update_src_context_entry.md)
- [SHAPE_SRC_CONTEXT](/pt-BR/reference/audio/shapesrccontext/structs/shape_src_context.md)
