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

피치 목표를 설정합니다.

## Syntax

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

### 매개변수

*context*   \_Inout\_\
형식: [SHAPE\_SRC\_CONTEXT](/reference/audio/shapesrccontext/structs/shape_src_context)\*

[SHAPE\_SRC\_CONTEXT](/reference/audio/shapesrccontext/structs/shape_src_context) 객체에 대한 포인터입니다.

*pitchTarget*   \
형식: float

피치 목표입니다.

### 반환 값

형식: HRESULT

HRESULT 성공 또는 오류 코드입니다.

## 설명

Sample Rate Convertor(SRC) 블록은 PCM 샘플을 읽고 샘플 레이트 변환과 피치 시프팅을 수행합니다. 피치 목표 및 피치 값의 범위는 0.0625–3.99입니다. 현재 피치 목표를 가져오려면 [GetShapeSrcPitchTarget](/reference/audio/shapesrccontext/functions/getshapesrcpitchtarget)을 사용합니다.

SRC에 대한 자세한 내용은 [Overview of SHAPE](/build/console-features/audio/overviews/shape-overview)의 [Sample Rate Convertor (SRC) block](/build/console-features/audio/overviews/shape-overview#ID4EOE)을 참조하세요.

## 요구 사항

**헤더:** shapesrccontext.h

**지원 플랫폼:** XBOX One 제품군 콘솔 및 XBOX Series 콘솔

## 참고 항목

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


## Related topics

- [SetShapeSrcPitch](/ko/reference/audio/shapesrccontext/functions/setshapesrcpitch.md)
- [GetShapeSrcPitchTarget](/ko/reference/audio/shapesrccontext/functions/getshapesrcpitchtarget.md)
- [ShapeSrcContext](/ko/reference/audio/shapesrccontext/shapesrccontext_members.md)
- [GetShapeSrcPitch](/ko/reference/audio/shapesrccontext/functions/getshapesrcpitch.md)
- [PitchToShapeSrcSamplingIncrement](/ko/reference/audio/shapesrccontext/functions/pitchtoshapesrcsamplingincrement.md)
