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

# GetShapeXmaNumChannels

> GetShapeXmaNumChannels

# GetShapeXmaNumChannels

채널 수를 가져옵니다.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
UINT32 GetShapeXmaNumChannels(  
         const SHAPE_XMA_CONTEXT* context  
)  
```

<a id="parametersSection" />

### 매개변수

*context*   \_In\_\
형식: [SHAPE\_XMA\_CONTEXT](/reference/audio/shapexmacontext/structs/shape_xma_context)\*

[SHAPE\_XMA\_CONTEXT](/reference/audio/shapexmacontext/structs/shape_xma_context) 객체에 대한 포인터입니다.

<a id="retvalSection" />

### 반환 값

형식: UINT32

채널 수로, 1(모노) 또는 2(스테레오)입니다.

<a id="remarksSection" />

## 설명

이 함수는 컨텍스트의 실제 채널 수를 반환합니다. ([SHAPE\_XMA\_CONTEXT](/reference/audio/shapexmacontext/structs/shape_xma_context) 객체의 `numChannels` 멤버는 0 \[모노] 또는 1 \[스테레오] 값을 포함합니다.)

채널 수를 설정하려면 [SetShapeXmaNumChannels](/reference/audio/shapexmacontext/functions/setshapexmanumchannels)를 사용합니다.

자세한 내용은 [Overview of SHAPE](/build/console-features/audio/overviews/shape-overview)의 [XMA](/build/console-features/audio/overviews/shape-overview#ID4EYD) 섹션을 참조하세요.

<a id="requirementsSection" />

## 요구 사항

**헤더:** shapexmacontext.h

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

<a id="seealsoSection" />

## 참고 항목

[ShapeXmaContext](/reference/audio/shapexmacontext/shapexmacontext_members)


## Related topics

- [SetShapeXmaNumChannels](/ko/reference/audio/shapexmacontext/functions/setshapexmanumchannels.md)
- [ShapeXmaContext](/ko/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [GetShapeDmaNumChannels](/ko/reference/audio/shapedmacontext/functions/getshapedmanumchannels.md)
- [GetShapeXmaNumLoops](/ko/reference/audio/shapexmacontext/functions/getshapexmanumloops.md)
- [GetShapeXmaNumSubframesToSkip](/ko/reference/audio/shapexmacontext/functions/getshapexmanumsubframestoskip.md)
