> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SetShapeSrcPitch

> SetShapeSrcPitch

# SetShapeSrcPitch

피치를 설정합니다.

## Syntax

```cpp theme={null}
HRESULT SetShapeSrcPitch(  
         SHAPE_SRC_CONTEXT* context,  
         float pitch  
)  
```

### 매개변수

*context*   \_Inout\_\
형식: [SHAPE\_SRC\_CONTEXT](https://docs.xbox.com/ko/reference/audio/shapesrccontext/structs/shape_src_context.md)\*

[SHAPE\_SRC\_CONTEXT](https://docs.xbox.com/ko/reference/audio/shapesrccontext/structs/shape_src_context.md) 객체에 대한 포인터입니다.

*pitch*   \
형식: float

피치입니다.

### 반환 값

형식: HRESULT

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

## 설명

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

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

## 요구 사항

**헤더:** shapesrccontext.h

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

## 참고 항목

[SetShapeSrcPitchTarget](https://docs.xbox.com/ko/reference/audio/shapesrccontext/functions/setshapesrcpitchtarget.md)\
[ShapeSrcContext](https://docs.xbox.com/ko/reference/audio/shapesrccontext/shapesrccontext_members.md)


## Related topics

- [SetShapeSrcPitchTarget](https://docs.xbox.com/ko/reference/audio/shapesrccontext/functions/setshapesrcpitchtarget.md)
- [GetShapeSrcPitch](https://docs.xbox.com/ko/reference/audio/shapesrccontext/functions/getshapesrcpitch.md)
- [ShapeSrcContext](https://docs.xbox.com/ko/reference/audio/shapesrccontext/shapesrccontext_members.md)
- [GetShapeSrcPitchTarget](https://docs.xbox.com/ko/reference/audio/shapesrccontext/functions/getshapesrcpitchtarget.md)
- [PitchToShapeSrcSamplingIncrement](https://docs.xbox.com/ko/reference/audio/shapesrccontext/functions/pitchtoshapesrcsamplingincrement.md)
