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

# GetShapeXmaOutputBufferWriteOffset

> GetShapeXmaOutputBufferWriteOffset

# GetShapeXmaOutputBufferWriteOffset

出力バッファの書き込みオフセットを取得します。

## 構文

```cpp theme={null}
UINT32 GetShapeXmaOutputBufferWriteOffset(  
         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) オブジェクトへのポインター。

### 戻り値

型: UINT32

出力バッファの先頭からのオフセット (バイト単位)。

## 解説

出力バッファの読み取りオフセットを取得するには、[GetShapeXmaOutputBufferReadOffset](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaoutputbufferreadoffset.md) を使用します。出力バッファのアドレスを取得するには、[GetShapeXmaOutputBuffer](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffer.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

- [GetShapeXmaOutputBufferReadOffset](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaoutputbufferreadoffset.md)
- [ShapeXmaContext](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [SetShapeXmaOutputBufferReadOffset](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/setshapexmaoutputbufferreadoffset.md)
- [GetShapeXmaOutputBufferNumFramesAvailable](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffernumframesavailable.md)
- [GetShapeXmaOutputBufferNumBytesAvailable](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffernumbytesavailable.md)
