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

# SetShapeXmaInputBufferReadOffset

> SetShapeXmaInputBufferReadOffset

# SetShapeXmaInputBufferReadOffset

현재 입력 버퍼의 읽기 오프셋을 설정합니다.

<a id="syntaxSection" />

## Syntax

```cpp theme={null}
HRESULT SetShapeXmaInputBufferReadOffset(  
         SHAPE_XMA_CONTEXT* context,  
         UINT32 offsetInBits  
)  
```

<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) 객체에 대한 포인터입니다.

*offsetInBits*   \
Type: UINT32

입력 버퍼의 시작 지점으로부터의 오프셋(비트 단위)입니다.

<a id="retvalSection" />

### Return value

Type: HRESULT

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

<a id="remarksSection" />

## Remarks

하드웨어 XMA 디코더의 경우, XMA 컨텍스트의 읽기 오프셋은 일반적으로 32 또는 32에 2048바이트의 배수를 더한 값으로 초기화해야 합니다.
현재 입력 버퍼를 가져오려면 [GetShapeXmaCurrentInputBuffer](/reference/audio/shapexmacontext/functions/getshapexmacurrentinputbuffer)를 사용하세요.

현재 입력 버퍼의 읽기 오프셋을 가져오려면 [GetShapeXmaInputBufferReadOffset](/reference/audio/shapexmacontext/functions/getshapexmainputbufferreadoffset)을 사용하세요.

자세한 내용은 [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

- [GetShapeXmaInputBufferReadOffset](/ko/reference/audio/shapexmacontext/functions/getshapexmainputbufferreadoffset.md)
- [SetShapeXmaOutputBufferReadOffset](/ko/reference/audio/shapexmacontext/functions/setshapexmaoutputbufferreadoffset.md)
- [ShapeXmaContext](/ko/reference/audio/shapexmacontext/shapexmacontext_members.md)
- [GetShapeXmaOutputBufferReadOffset](/ko/reference/audio/shapexmacontext/functions/getshapexmaoutputbufferreadoffset.md)
- [SetShapeXmaCurrentInputBuffer](/ko/reference/audio/shapexmacontext/functions/setshapexmacurrentinputbuffer.md)
