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

# GetShapeSrcCommandType

> GetShapeSrcCommandType

# GetShapeSrcCommandType

현재 SRC 명령을 가져옵니다.

## Syntax

```cpp theme={null}
SHAPE_SRC_COMMAND_TYPE GetShapeSrcCommandType(  
         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) 객체에 대한 포인터입니다.

### 반환 값

형식: SHAPE\_SRC\_COMMAND\_TYPE

[SHAPE\_SRC\_COMMAND\_TYPE](/reference/audio/shapesrccontext/enums/shape_src_command_type) 열거형의 멤버입니다.

## 설명

세 가지 SRC 명령은 다음과 같습니다.

| 명령                                      | 동작                                                               |
| --------------------------------------- | ---------------------------------------------------------------- |
| `SHAPE_SRC_COMMAND_TYPE_START`          | 일반 처리를 수행하며 현재 flowgraph를 따라 추가 오디오 데이터가 이어질 것으로 예상합니다.          |
| `SHAPE_SRC_COMMAND_TYPE_STOP_IMMEDIATE` | 소스 XMA 또는 PCM 데이터의 처리를 즉시 중지합니다. 이 프레임에서 SRC는 0으로 채워진 버퍼를 출력합니다. |
| `SHAPE_SRC_COMMAND_TYPE_STOP_END`       | 현재 패킷 이후에 처리를 중지합니다.                                             |

자세한 내용은 [SHAPE\_SRC\_COMMAND\_TYPE](/reference/audio/shapesrccontext/enums/shape_src_command_type)을 참조하세요.

SRC 명령을 변경하려면 [SetShapeSrcCommand](/reference/audio/shapesrccontext/functions/shapesrccontext_setshapesrccommand)를 사용합니다.

SRC 명령은 차단됨(blocked)으로 보고될 수 있습니다. 자세한 내용은 [Overview of SHAPE](/build/console-features/audio/overviews/shape-overview)의 [Blocked commands](/build/console-features/audio/overviews/shape-overview#ID4EBGAC) 섹션을 참조하세요.

## 요구 사항

**헤더:** shapesrccontext.h

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

## 참고 항목

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


## Related topics

- [SHAPE_SRC_COMMAND_TYPE](/ko/reference/audio/shapesrccontext/enums/shape_src_command_type.md)
- [SetShapeSrcCommand](/ko/reference/audio/shapesrccontext/functions/shapesrccontext_setshapesrccommand.md)
- [ShapeSrcContext](/ko/reference/audio/shapesrccontext/shapesrccontext_members.md)
- [SHAPE_FLOWGRAPH_SRC_COMMAND](/ko/reference/audio/shapeflowgraph/structs/shape_flowgraph_src_command.md)
- [GetShapePcmFormat](/ko/reference/audio/shapepcmcontext/functions/getshapepcmformat.md)
