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

> SHAPE_FLOWGRAPH_DMA_COMMAND

# SHAPE\_FLOWGRAPH\_DMA\_COMMAND

믹스 버퍼와 시스템 메모리 간에 데이터를 이동함을 나타냅니다.

## Syntax

```cpp theme={null}
typedef struct SHAPE_FLOWGRAPH_DMA_COMMAND {  
    UINT64 command : 5;
    UINT64 queued : 1;
    UINT64 disabled : 1;
    UINT64 error : 1;
    UINT64 reserved0 : 5;
    UINT64 write : 1;
    UINT64 mixBuffer : 13;
    UINT64 contextId : 12;
    UINT64 reserved1 : 25;
} SHAPE_FLOWGRAPH_DMA_COMMAND  
```

### Members

`command`\
Type: UINT64

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

`queued`\
Type: UINT64

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

`disabled`\
Type: UINT64

연산 비활성화 플래그입니다.

`error`\
Type: UINT64

명령이 유효하지 않음. Audio Control Processor(ACP)에 의해 설정됩니다.

`reserved0`\
Type: UINT64

예약됨.

`write`\
Type: UINT64

1 == 쓰기; 0 == 읽기.

`mixBuffer`\
Type: UINT64

입력 또는 출력 믹스 버퍼입니다.

`contextId`\
Type: UINT64

컨텍스트 ID입니다.

`reserved1`\
Type: UINT64

예약됨.

## Remarks

Direct Memory Access(DMA) 명령은 단일 믹스 버퍼에서만 동작합니다. 멀티 채널(모노보다 많은) 콘텐츠를 지원하기 위해 DMA는 블록 오프셋을 지원합니다. 이를 통해 DMA 컨트롤은 블록 단위로 다른 DMA 명령과 데이터를 인터리브할 수 있습니다.

DMA 읽기 및 쓰기 연산이 지원됩니다. DMA 명령은 실행을 위해 DMA 하드웨어 블록으로 디스패치됩니다.

DMA 읽기 연산의 경우 입력 데이터는 시스템 메모리에 있고, 대상은 믹스 버퍼입니다. DMA 쓰기 연산의 경우 입력 데이터는 믹스 버퍼에 있고, 대상은 시스템 메모리입니다. 각 명령은 48KHz에서 128 샘플 오디오 프레임의 단일 채널 출력 처리에 해당합니다.

## 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)
- [SetShapeDmaCommand](/ko/reference/audio/shapeflowgraph/functions/setshapedmacommand.md)
- [ACP_COMMAND_LOAD_SHAPE_FLOWGRAPH](/ko/reference/audio/acphal/structs/acp_command_load_shape_flowgraph.md)
