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

# GetShapeXmaOutputBufferNumBytesAvailable

> GetShapeXmaOutputBufferNumBytesAvailable

# GetShapeXmaOutputBufferNumBytesAvailable

出力バッファから読み取り可能なバイト数を取得します。

## 構文

```cpp theme={null}
UINT32 GetShapeXmaOutputBufferNumBytesAvailable(  
         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

読み取り可能なバイト数。

## 解説

読み取り可能なフレーム数を取得するには、[GetShapeXmaOutputBufferNumFramesAvailable](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffernumframesavailable.md) を使用します。

出力バッファの現在の読み取りオフセットを取得するには、[GetShapeXmaOutputBufferReadOffset](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaoutputbufferreadoffset.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

- [GetShapeXmaOutputBufferNumFramesAvailable](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffernumframesavailable.md)
- [ShapeXmaContext](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [GetShapeXmaOutputBuffer](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffer.md)
- [GetShapeXmaOutputBufferSize](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffersize.md)
- [GetShapeXmaOutputBufferValid](https://docs.xbox.com/ja-jp/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffervalid.md)
