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

# SetShapeXmaLoopEndOffset

> SetShapeXmaLoopEndOffset

# SetShapeXmaLoopEndOffset

XMA 컨텍스트 루프의 끝 오프셋을 설정합니다.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
HRESULT SetShapeXmaLoopEndOffset(  
         SHAPE_XMA_CONTEXT* context,  
         UINT32 offset  
)  
```

<a id="parametersSection" />

### Parameters

*context*   \_Inout\_\
Type: [SHAPE\_XMA\_CONTEXT](/reference/audio/shapexmacontext/structs/shape_xma_context)\*

[SHAPE\_XMA\_CONTEXT](/reference/audio/shapexmacontext/structs/shape_xma_context) 객체에 대한 포인터입니다.

*offset*   \
Type: UINT32

읽기 버퍼 포인터에서 디코딩이 종료될 위치까지의 오프셋(비트 단위)입니다.

<a id="retvalSection" />

### Return value

Type: HRESULT

HRESULT 성공 또는 오류 코드입니다.

<a id="remarksSection" />

## Remarks

XMA 컨텍스트 루프에 대한 지침은 [ACP 개요](/build/console-features/audio/overviews/acp-overview)의 [PCM 및 XMA 데이터에 SRC 사용에 대한 지침](/build/console-features/audio/overviews/acp-overview#ID4EUPAC)을 참조하세요.

현재 끝 오프셋을 가져오려면 [GetShapeXmaLoopEndOffset](/reference/audio/shapexmacontext/functions/getshapexmaloopendoffset)을 사용하세요.

자세한 내용은 [SHAPE 개요](/build/console-features/audio/overviews/shape-overview)의 [XMA](/build/console-features/audio/overviews/shape-overview#ID4EYD) 섹션을 참조하세요.

<a id="requirementsSection" />

## Requirements

**Header:** shapexmacontext.h

**Supported platforms:** XBOX One 제품군 콘솔 및 XBOX Series 콘솔

<a id="seealsoSection" />

## See also

[ShapeXmaContext](/reference/audio/shapexmacontext/shapexmacontext_members)


## Related topics

- [GetShapeXmaLoopEndOffset](/ko/reference/audio/shapexmacontext/functions/getshapexmaloopendoffset.md)
- [ShapeXmaContext](/ko/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [SetShapeXmaLoopStartOffset](/ko/reference/audio/shapexmacontext/functions/setshapexmaloopstartoffset.md)
- [GetShapeXmaLoopStartOffset](/ko/reference/audio/shapexmacontext/functions/getshapexmaloopstartoffset.md)
- [SetShapeXmaLoopSubframeEnd](/ko/reference/audio/shapexmacontext/functions/setshapexmaloopsubframeend.md)
