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

# SetShapeSrcPitchTarget

> SetShapeSrcPitchTarget

# SetShapeSrcPitchTarget

Define o pitch de destino.

## Sintaxe

```cpp theme={null}
HRESULT SetShapeSrcPitchTarget(  
         SHAPE_SRC_CONTEXT* context,  
         float pitchTarget  
)  
```

### Parâmetros

*context*   \_Inout\_\
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).

*pitchTarget*   \
Tipo: float

O pitch de destino.

### Valor retornado

Tipo: HRESULT

Código de sucesso ou de erro HRESULT.

## Comentários

O bloco Sample Rate Convertor (SRC) lê amostras PCM e executa a conversão da taxa de amostragem e o deslocamento de pitch. Os valores de pitch de destino e de pitch estão no intervalo de 0,0625 a 3,99. Para obter o pitch de destino atual, use [GetShapeSrcPitchTarget](/pt-BR/reference/audio/shapesrccontext/functions/getshapesrcpitchtarget).

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

[SetShapeSrcPitch](/pt-BR/reference/audio/shapesrccontext/functions/setshapesrcpitch)\
[ShapeSrcContext](/pt-BR/reference/audio/shapesrccontext/shapesrccontext_members)


## Related topics

- [SetShapeSrcPitchTarget](/reference/audio/shapesrccontext/functions/setshapesrcpitchtarget.md)
- [SetShapeSrcPitch](/reference/audio/shapesrccontext/functions/setshapesrcpitch.md)
