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

> SHAPE_FLOWGRAPH_ALLOC_MIXBUFFER_COMMAND

# SHAPE\_FLOWGRAPH\_ALLOC\_MIXBUFFER\_COMMAND

後続の使用のために物理ミックスバッファーを割り当てます。

## Syntax

```cpp theme={null}
typedef struct SHAPE_FLOWGRAPH_ALLOC_MIXBUFFER_COMMAND {  
    UINT64 command : 5;
    UINT64 queued : 1;
    UINT64 disabled : 1;
    UINT64 error : 1;
    UINT64 reserved0 : 5;
    UINT64 numIn : 10;
    UINT64 numOut : 10;
    UINT64 virtualId : 13;
    UINT64 attenuate : 3;
    UINT64 reserved1 : 15;
} SHAPE_FLOWGRAPH_ALLOC_MIXBUFFER_COMMAND  
```

### Members

`command`\
Type: UINT64

[SHAPE\_FLOWGRAPH\_COMMAND\_TYPE](/reference/audio/shapeflowgraph/enums/shape_flowgraph_command_type) の SHAPE\_FLOWGRAPH\_COMMAND\_TYPE\_ALLOCMIXBUFFER コマンド。

`queued`\
Type: UINT64

内部処理フラグ: 1 == 内部コマンドキューに挿入済み、0 == 待機中。

`disabled`\
Type: UINT64

コマンドを無効にするフラグ: 1 == 無効 (処理しない)、0 == 有効 (通常どおり処理)。

`error`\
Type: UINT64

コマンドが無効。Audio Control Processor (ACP) によって設定されます。

`reserved0`\
Type: UINT64

予約済み。

`numIn`\
Type: UINT64

入力数。すべての入力が完了するまで、ミックスバッファーは何も出力しません。

`numOut`\
Type: UINT64

出力数。すべての出力が完了するまで、ミックスバッファーは解放されません。

`virtualId`\
Type: UINT64

仮想 ID (0 ～ 8191)。仮想ミックスバッファーは最大 8192 個あります。

`attenuate`\
Type: UINT64

減衰: 0 == なし。それ以外の値は、入力データをシフトするビット数を示します。ミックスバッファーに適用される減衰の詳細については、[SHAPE\_MIXBUFFER\_ATTENUATION](/reference/audio/shapeflowgraph/enums/shape_mixbuffer_attenuation) を参照してください。

`reserved1`\
Type: UINT64

予約済み。

## Remarks

実行リストは、ミックスバッファーの割り当てに仮想 ID を使用します。割り当てコマンドが実行されたときのみ、物理ミックスバッファーが指定の仮想 ID にバインドされます。指定された仮想 ID を使用する後続のコマンドは、割り当てられた物理ミックスバッファーに向けられます。割り当てコマンドは Scalable Hardware Audio Processing Engine (SHAPE) プロセッサーからミックスバッファーブロックにディスパッチされ、仮想 ID を物理ミックスバッファーにバインドします。

## 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](/ja-jp/reference/audio/shapeflowgraph/structs/shape_flowgraph_command.md)
- [SHAPE_FLOWGRAPH_COMMAND_TYPE](/ja-jp/reference/audio/shapeflowgraph/enums/shape_flowgraph_command_type.md)
- [ShapeFlowGraph](/ja-jp/reference/audio/shapeflowgraph/shapeflowgraph_members.md)
- [SetShapeAllocMixBufferCommand](/ja-jp/reference/audio/shapeflowgraph/functions/setshapeallocmixbuffercommand.md)
- [SHAPE_FLOWGRAPH_DMA_COMMAND](/ja-jp/reference/audio/shapeflowgraph/structs/shape_flowgraph_dma_command.md)
