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

# GetShapeXmaOverlapAddBuffer

> GetShapeXmaOverlapAddBuffer

# GetShapeXmaOverlapAddBuffer

取得重疊相加 (overlap-add) 緩衝區的位址。

<a id="syntaxSection" />

## 語法

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

<a id="parametersSection" />

### 參數

*context*   \_In\_\
類型：[SHAPE\_XMA\_CONTEXT](/zh-TW/reference/audio/shapexmacontext/structs/shape_xma_context)\*

指向 [SHAPE\_XMA\_CONTEXT](/zh-TW/reference/audio/shapexmacontext/structs/shape_xma_context) 物件的指標。

<a id="retvalSection" />

### 傳回值

類型：void\*

指向重疊相加緩衝區的指標。

<a id="remarksSection" />

## 備註

重疊相加緩衝區的大小，單聲道為 256 位元組，立體聲為 512 位元組。

若要使用指標設定重疊相加緩衝區的位址，請使用 [SetShapeXmaOverlapAddBuffer(SHAPE\_XMA\_CONTEXT\*, void\*)](/zh-TW/reference/audio/shapexmacontext/functions/setshapexmaoverlapaddbuffer)。

若要使用實體位址設定重疊相加緩衝區的位址，請使用 [SetShapeXmaOverlapAddBuffer(SHAPE\_XMA\_CONTEXT\*, APU\_ADDRESS)](/zh-TW/reference/audio/shapexmacontext/functions/setshapexmaoverlapaddbuffer_2)。

如需詳細資訊，請參閱 [SHAPE 概觀](/zh-TW/build/console-features/audio/overviews/shape-overview)中的 [XMA](/zh-TW/build/console-features/audio/overviews/shape-overview#ID4EYD) 一節。

<a id="requirementsSection" />

## 需求

**標頭：** shapexmacontext.h

**支援的平台：** XBOX One 系列主機與 XBOX Series 主機

<a id="seealsoSection" />

## 另請參閱

[ShapeXmaContext](/zh-TW/reference/audio/shapexmacontext/shapexmacontext_members)


## Related topics

- [GetShapeXmaOverlapAddBuffer](/ko/reference/audio/shapexmacontext/functions/getshapexmaoverlapaddbuffer.md)
- [SetShapeXmaOverlapAddBuffer(SHAPE_XMA_CONTEXT*, void*)](/reference/audio/shapexmacontext/functions/setshapexmaoverlapaddbuffer.md)
- [SetShapeXmaOverlapAddBuffer(SHAPE_XMA_CONTEXT*, APU_ADDRESS)](/reference/audio/shapexmacontext/functions/setshapexmaoverlapaddbuffer_2.md)
