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

# SHAPE_FLOWGRAPH_SRC_COMMAND

> SHAPE_FLOWGRAPH_SRC_COMMAND

# SHAPE\_FLOWGRAPH\_SRC\_COMMAND

샘플링 레이트 변환(SRC) 패스가 필요함을 나타냅니다.

## Syntax

```cpp theme={null}
typedef struct SHAPE_FLOWGRAPH_SRC_COMMAND {  
    UINT64 command : 5;
    UINT64 queued : 1;
    UINT64 disabled : 1;
    UINT64 error : 1;
    UINT64  : 5;
    UINT64 contextId : 12;
    UINT64 mixBuffer0 : 13;
    UINT64 mixBuffer1 : 13;
    UINT64  : 13;
} SHAPE_FLOWGRAPH_SRC_COMMAND  
```

### Members

`command`\
Type: UINT64

[SHAPE\_FLOWGRAPH\_COMMAND\_TYPE](/reference/audio/shapeflowgraph/enums/shape_flowgraph_command_type)의 SHAPE\_FLOWGRAPH\_COMMAND\_TYPE\_SRC 명령입니다.

`queued`\
Type: UINT64

내부 프로세스 플래그: 1 == 내부 명령 큐에 삽입됨, 0 == 아직 대기 중.

`disabled`\
Type: UINT64

변환 비활성화 플래그: 1 == 비활성화(처리하지 않음), 0 == 활성화(정상 처리).

`error`\
Type: UINT64

명령이 Audio Control Processor(ACP)에 의해 유효하지 않은 것으로 표시됩니다.

`reserved0`\
Type: UINT64

예약됨.

`contextId`\
Type: UINT64

컨텍스트 ID입니다.

`mixBuffer0`\
Type: UINT64

채널 0(일반적으로 좌측/모노)의 출력 믹스 버퍼입니다.

`mixBuffer1`\
Type: UINT64

채널 1(일반적으로 우측)의 출력 믹스 버퍼입니다.

`reserved1`\
Type: UINT64

예약됨.

## Remarks

SRC는 두 가지 모드 중 하나로 동작합니다.

* **MONO** 모드에서는 데이터가 시스템 메모리에서 샘플 단위로 읽혀 SRC 처리 후 믹스 버퍼에 기록됩니다.

* **STEREO** 모드에서는 데이터가 인터리브된(좌/우) 스테레오 PCM 데이터로 해석되며, 각 채널이 별도의 믹스 버퍼로 출력됩니다. 이는 메모리 재읽기를 최소화하면서 최고 성능을 제공합니다.

*SRC* 명령은 실행을 위해 SRC 하드웨어 블록으로 디스패치됩니다. SRC 블록의 입력 데이터는 SRC 또는 XBOX Media Audio(XMA) 컨텍스트에서 지정되며 항상 시스템 메모리에 있습니다. SRC의 출력은 항상 하나 이상의 믹스 버퍼로 향합니다. 각 명령은 48kHz에서 128 샘플 오디오 프레임의 한 채널 출력 처리에 해당합니다. 소비되는 입력 샘플의 수는 SRC 비율에 따라 다릅니다.

## Requirements

**Header:** shapeflowgraph.h

**Supported platforms:** XBOX One 제품군 콘솔 및 XBOX Series 콘솔

## See also

[ACP](/build/console-features/audio/overviews/acp-overview)

[SHAPE 개요](/build/console-features/audio/overviews/shape-overview)

[shapeflowgraph](/reference/audio/shapeflowgraph/shapeflowgraph_members)


## Related topics

- [SHAPE_FLOWGRAPH_COMMAND](/ko/reference/audio/shapeflowgraph/structs/shape_flowgraph_command.md)
- [ShapeFlowGraph](/ko/reference/audio/shapeflowgraph/shapeflowgraph_members.md)
- [SHAPE_FLOWGRAPH_COMMAND_TYPE](/ko/reference/audio/shapeflowgraph/enums/shape_flowgraph_command_type.md)
- [SetShapeSrcCommand function](/ko/reference/audio/shapeflowgraph/functions/shapeflowgraph_setshapesrccommand.md)
- [SetShapeSrcCommand](/ko/reference/audio/shapesrccontext/functions/shapesrccontext_setshapesrccommand.md)
