> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GetShapeXmaOutputBuffer

> GetShapeXmaOutputBuffer

# GetShapeXmaOutputBuffer

出力バッファのアドレスを取得します。

## 構文

```cpp theme={null}
void* GetShapeXmaOutputBuffer(  
         const SHAPE_XMA_CONTEXT* context  
)  
```

### パラメーター

*context*   \_In\_\
型: [SHAPE\_XMA\_CONTEXT](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/structs/shape_xma_context.md)\*

[SHAPE\_XMA\_CONTEXT](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/structs/shape_xma_context.md) オブジェクトへのポインター。

### 戻り値

型: void\*

出力バッファへのポインター。

## 解説

ポインターを使用して出力バッファのアドレスを設定するには、[SetShapeXmaOutputBuffer(SHAPE\_XMA\_CONTEXT\*, void\*)](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffer.md) を使用します。

物理アドレスを使用して出力バッファのアドレスを設定するには、[SetShapeXmaOutputBuffer(SHAPE\_XMA\_CONTEXT\*, APU\_ADDRESS)](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffer_2.md) を使用します。

詳細については、[SHAPE の概要](https://docs.xbox.com/ja-jp/build/console-features/audio/overviews/shape-overview.md) の [XMA](https://docs.xbox.com/ja-jp/build/console-features/audio/overviews/shape-overview.md#ID4EYD) セクションを参照してください。

## 要件

**ヘッダー:** shapexmacontext.h

**サポートされているプラットフォーム:** XBOX One ファミリ本体および XBOX Series 本体

## 関連項目

[ShapeXmaContext](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/shapexmacontext_members.md)


## Related topics

- [GetShapeXmaOutputBufferWriteOffset](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaoutputbufferwriteoffset.md)
- [SetShapeXmaOutputBuffer(SHAPE_XMA_CONTEXT*, void*)](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffer.md)
- [SetShapeXmaOutputBuffer(SHAPE_XMA_CONTEXT*, APU_ADDRESS)](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffer_2.md)
- [ShapeXmaContext](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [GetShapeXmaOutputBufferSize](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffersize.md)
