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

# XApuCommandType

> XApuCommandType

# XApuCommandType

단일 스트림에서 수행할 명령 유형을 정의합니다.

## Syntax

```cpp theme={null}
enum class XApuCommandType  : uint32_t  
{  
    None = 0,  
    Activate = 1,  
    Deactivate = 2,  
    Process = 3,  
    Notify = 4,  
    Reset = 5,  
}  
```

## Constants

| Constant   | Description                                                                                                                                                                                                                                                                                                  |
| ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| None       | 유효하지 않은 명령 유형입니다.                                                                                                                                                                                                                                                                                            |
| Activate   | 처리를 위해 단일 스트림을 활성화하고 초기화합니다.                                                                                                                                                                                                                                                                                 |
| Deactivate | 단일 스트림 리소스를 비활성화하고 해제합니다.                                                                                                                                                                                                                                                                                    |
| Process    | 단일 스트림 입력 데이터를 처리하여 출력을 생성합니다.                                                                                                                                                                                                                                                                               |
| Notify     | 사용되지 않습니다.                                                                                                                                                                                                                                                                                                   |
| Reset      | 단일 스트림 디코드 및/또는 변환 엔진을 원래 활성화 상태로 리셋합니다. 이 명령은 channelCount 및 startPitch와 같은 동일한 원래 활성화 매개 변수를 사용하여 디코더와 컨버터를 원래 활성화 상태로 되돌립니다. 시크, 루프 또는 두 스트림을 스플라이싱하는 동안 [XApuCommandType::Reset](/reference/audio/xapu/enums/xapucommandtype)을 사용할지 여부는 호출자가 결정하지만, 사용할 경우 출력의 트랜지언트 효과를 방지하기 위해 호출자가 프리롤 데이터를 제출해야 합니다. |

## Remarks

이 열거형은 디코드, 변환, 디코드-변환과 같은 활성화 및 비활성화 프로세스를 결정합니다. 비활성화 중에 프로세스 리소스를 해제합니다. 현재 활성 프로세서의 상태에 대한 알림을 보냅니다. 또한 프로세스를 원래 활성화 상태로 리셋합니다.

## Requirements

**Header:** xapu.h

**Supported platforms:** XBOX Series X|S

## See also

[XAPU](/reference/audio/xapu/xapu_members)\
[XApuCommandId](/reference/audio/xapu/structs/xapucommandid)\
[XApuDequeueResult](/reference/audio/xapu/functions/xapudequeueresult)\
[XApuEnqueueCommand](/reference/audio/xapu/functions/xapuenqueuecommand)


## Related topics

- [XApuEnqueueCommand](/ko/reference/audio/xapu/functions/xapuenqueuecommand.md)
- [XApuUtilization](/ko/reference/audio/xapu/structs/xapuutilization.md)
- [XApuCommandOptions](/ko/reference/audio/xapu/enums/xapucommandoptions.md)
- [XApuCommandId](/ko/reference/audio/xapu/structs/xapucommandid.md)
- [XApuDisconnect](/ko/reference/audio/xapu/functions/xapudisconnect.md)
