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

샘플 수를 가져옵니다.

## Syntax

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

### 매개변수

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

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

### 반환 값

형식: UINT32

샘플 수입니다.

## 설명

이 함수는 재생이 시작된 이후에 처리된 오디오 샘플 수를 가져옵니다.

이 개수는 [SHAPE\_SRC\_CONTEXT](/reference/audio/shapesrccontext/structs/shape_src_context) 객체의 *sampleCount* 멤버에 저장됩니다. 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 콘솔

## 참고 항목

[ShapeSrcContext](/reference/audio/shapesrccontext/shapesrccontext_members)


## Related topics

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