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

# ShapeXmaContext

> ShapeXmaContext

# ShapeXmaContext

ShapeXmaContext API

## Functions

| Function                                                                                                                                     | Description                           |
| -------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------- |
| [GetShapeXmaCurrentInputBuffer](/reference/audio/shapexmacontext/functions/getshapexmacurrentinputbuffer)                                    | 현재 입력 버퍼를 가져옵니다.                      |
| [GetShapeXmaErrorSet](/reference/audio/shapexmacontext/functions/getshapexmaerrorset)                                                        | 오류가 발생했는지 여부를 나타내는 플래그를 가져옵니다.        |
| [GetShapeXmaErrorStatus](/reference/audio/shapexmacontext/functions/getshapexmaerrorstatus)                                                  | 현재 오류 값을 가져옵니다.                       |
| [GetShapeXmaInputBuffer0](/reference/audio/shapexmacontext/functions/getshapexmainputbuffer0)                                                | 왼쪽 입력 버퍼의 주소를 가져옵니다.                  |
| [GetShapeXmaInputBuffer0Size](/reference/audio/shapexmacontext/functions/getshapexmainputbuffer0size)                                        | 왼쪽 입력 버퍼의 크기를 가져옵니다.                  |
| [GetShapeXmaInputBuffer0Valid](/reference/audio/shapexmacontext/functions/getshapexmainputbuffer0valid)                                      | 왼쪽 입력 버퍼의 유효성 플래그를 가져옵니다.             |
| [GetShapeXmaInputBuffer1](/reference/audio/shapexmacontext/functions/getshapexmainputbuffer1)                                                | 오른쪽 입력 버퍼의 주소를 가져옵니다.                 |
| [GetShapeXmaInputBuffer1Size](/reference/audio/shapexmacontext/functions/getshapexmainputbuffer1size)                                        | 오른쪽 입력 버퍼의 크기를 가져옵니다.                 |
| [GetShapeXmaInputBuffer1Valid](/reference/audio/shapexmacontext/functions/getshapexmainputbuffer1valid)                                      | 오른쪽 입력 버퍼의 유효성 플래그를 가져옵니다.            |
| [GetShapeXmaInputBufferReadOffset](/reference/audio/shapexmacontext/functions/getshapexmainputbufferreadoffset)                              | 현재 입력 버퍼의 읽기 오프셋을 가져옵니다.              |
| [GetShapeXmaInputBufferValid](/reference/audio/shapexmacontext/functions/getshapexmainputbuffervalid)                                        | 입력 버퍼의 유효성 플래그를 가져옵니다.                |
| [GetShapeXmaInterruptWhenDone](/reference/audio/shapexmacontext/functions/getshapexmainterruptwhendone)                                      | 내부용으로 예약되어 있습니다.                      |
| [GetShapeXmaLoopEndOffset](/reference/audio/shapexmacontext/functions/getshapexmaloopendoffset)                                              | XMA 컨텍스트 루프의 끝 오프셋을 가져옵니다.            |
| [GetShapeXmaLoopStartOffset](/reference/audio/shapexmacontext/functions/getshapexmaloopstartoffset)                                          | XMA 컨텍스트 루프의 시작 오프셋을 가져옵니다.           |
| [GetShapeXmaLoopSubframeEnd](/reference/audio/shapexmacontext/functions/getshapexmaloopsubframeend)                                          | 루프의 마지막 서브프레임 번호를 가져옵니다.              |
| [GetShapeXmaLoopSubframeSkip](/reference/audio/shapexmacontext/functions/getshapexmaloopsubframeskip)                                        | 루프 시작 시 건너뛸 서브프레임 수를 가져옵니다.           |
| [GetShapeXmaNumChannels](/reference/audio/shapexmacontext/functions/getshapexmanumchannels)                                                  | 채널 수를 가져옵니다.                          |
| [GetShapeXmaNumLoops](/reference/audio/shapexmacontext/functions/getshapexmanumloops)                                                        | XMA 컨텍스트 루프 수를 가져옵니다.                 |
| [GetShapeXmaNumSubframesToDecode](/reference/audio/shapexmacontext/functions/getshapexmanumsubframestodecode)                                | 패스당 디코딩할 서브프레임 수를 가져옵니다.              |
| [GetShapeXmaNumSubframesToSkip](/reference/audio/shapexmacontext/functions/getshapexmanumsubframestoskip)                                    | 건너뛸 서브프레임 수를 가져옵니다.                   |
| [GetShapeXmaOutputBuffer](/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffer)                                                | 출력 버퍼의 주소를 가져옵니다.                     |
| [GetShapeXmaOutputBufferNumBytesAvailable](/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffernumbytesavailable)              | 출력 버퍼에서 읽을 수 있는 바이트 수를 가져옵니다.         |
| [GetShapeXmaOutputBufferNumFramesAvailable](/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffernumframesavailable)            | 출력 버퍼에서 읽을 수 있는 프레임 수를 가져옵니다.         |
| [GetShapeXmaOutputBufferReadOffset](/reference/audio/shapexmacontext/functions/getshapexmaoutputbufferreadoffset)                            | 출력 버퍼의 읽기 오프셋을 가져옵니다.                 |
| [GetShapeXmaOutputBufferSize](/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffersize)                                        | 출력 버퍼의 크기를 가져옵니다.                     |
| [GetShapeXmaOutputBufferValid](/reference/audio/shapexmacontext/functions/getshapexmaoutputbuffervalid)                                      | 출력 버퍼의 유효성 플래그를 가져옵니다.                |
| [GetShapeXmaOutputBufferWriteOffset](/reference/audio/shapexmacontext/functions/getshapexmaoutputbufferwriteoffset)                          | 출력 버퍼의 쓰기 오프셋을 가져옵니다.                 |
| [GetShapeXmaOverlapAddBuffer](/reference/audio/shapexmacontext/functions/getshapexmaoverlapaddbuffer)                                        | 오버랩-애드 버퍼의 주소를 가져옵니다.                 |
| [GetShapeXmaPacketMetadata](/reference/audio/shapexmacontext/functions/getshapexmapacketmetadata)                                            | 내부용으로 예약되어 있습니다.                      |
| [GetShapeXmaParserErrorSet](/reference/audio/shapexmacontext/functions/getshapexmaparsererrorset)                                            | XMA 파서 오류가 발생했는지 여부를 나타내는 플래그를 가져옵니다. |
| [GetShapeXmaParserErrorStatus](/reference/audio/shapexmacontext/functions/getshapexmaparsererrorstatus)                                      | 현재 XMA 파서 오류 값을 가져옵니다.                |
| [GetShapeXmaSampleRate](/reference/audio/shapexmacontext/functions/getshapexmasamplerate)                                                    | 샘플 레이트를 가져옵니다.                        |
| [GetShapeXmaStopWhenDone](/reference/audio/shapexmacontext/functions/getshapexmastopwhendone)                                                | 내부용으로 예약되어 있습니다.                      |
| [SetShapeXmaCurrentInputBuffer](/reference/audio/shapexmacontext/functions/setshapexmacurrentinputbuffer)                                    | 현재 입력 버퍼를 설정합니다.                      |
| [SetShapeXmaInputBuffer0(SHAPE\_XMA\_CONTEXT\*, const void\*)](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0)           | 왼쪽 입력 버퍼의 주소를 설정합니다.                  |
| [SetShapeXmaInputBuffer0(SHAPE\_XMA\_CONTEXT\*, APU\_ADDRESS)](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0_2)         | 왼쪽 입력 버퍼의 주소를 설정합니다.                  |
| [SetShapeXmaInputBuffer0Size](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0size)                                        | 왼쪽 입력 버퍼의 크기를 설정합니다.                  |
| [SetShapeXmaInputBuffer0Valid](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0valid)                                      | 왼쪽 입력 버퍼의 유효성 플래그를 설정합니다.             |
| [SetShapeXmaInputBuffer1(SHAPE\_XMA\_CONTEXT\*, const void\*)](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer1)           | 오른쪽 입력 버퍼의 주소를 설정합니다.                 |
| [SetShapeXmaInputBuffer1(SHAPE\_XMA\_CONTEXT\*, APU\_ADDRESS)](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer1_2)         | 오른쪽 입력 버퍼의 주소를 설정합니다.                 |
| [SetShapeXmaInputBuffer1Size](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer1size)                                        | 오른쪽 입력 버퍼의 크기를 설정합니다.                 |
| [SetShapeXmaInputBuffer1Valid](/reference/audio/shapexmacontext/functions/setshapexmainputbuffer1valid)                                      | 오른쪽 입력 버퍼의 유효성 플래그를 설정합니다.            |
| [SetShapeXmaInputBufferReadOffset](/reference/audio/shapexmacontext/functions/setshapexmainputbufferreadoffset)                              | 현재 입력 버퍼의 읽기 오프셋을 설정합니다.              |
| [SetShapeXmaInputBufferValid](/reference/audio/shapexmacontext/functions/setshapexmainputbuffervalid)                                        | 입력 버퍼의 유효성 플래그를 설정합니다.                |
| [SetShapeXmaInterruptWhenDone](/reference/audio/shapexmacontext/functions/setshapexmainterruptwhendone)                                      | 내부용으로 예약되어 있습니다.                      |
| [SetShapeXmaLoopEndOffset](/reference/audio/shapexmacontext/functions/setshapexmaloopendoffset)                                              | XMA 컨텍스트 루프의 끝 오프셋을 설정합니다.            |
| [SetShapeXmaLoopStartOffset](/reference/audio/shapexmacontext/functions/setshapexmaloopstartoffset)                                          | XMA 컨텍스트 루프의 시작 오프셋을 설정합니다.           |
| [SetShapeXmaLoopSubframeEnd](/reference/audio/shapexmacontext/functions/setshapexmaloopsubframeend)                                          | 루프의 마지막 서브프레임을 지정합니다.                 |
| [SetShapeXmaLoopSubframeSkip](/reference/audio/shapexmacontext/functions/setshapexmaloopsubframeskip)                                        | 루프 시작 시 건너뛸 서브프레임 수를 설정합니다.           |
| [SetShapeXmaNumChannels](/reference/audio/shapexmacontext/functions/setshapexmanumchannels)                                                  | 채널 수를 설정합니다.                          |
| [SetShapeXmaNumLoops](/reference/audio/shapexmacontext/functions/setshapexmanumloops)                                                        | XMA 컨텍스트 루프 수를 설정합니다.                 |
| [SetShapeXmaNumSubframesToDecode](/reference/audio/shapexmacontext/functions/setshapexmanumsubframestodecode)                                | 패스당 디코딩할 서브프레임 수를 설정합니다.              |
| [SetShapeXmaNumSubframesToSkip](/reference/audio/shapexmacontext/functions/setshapexmanumsubframestoskip)                                    | 건너뛸 서브프레임 수를 설정합니다.                   |
| [SetShapeXmaOutputBuffer(SHAPE\_XMA\_CONTEXT\*, void\*)](/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffer)                 | 출력 버퍼의 주소를 설정합니다.                     |
| [SetShapeXmaOutputBuffer(SHAPE\_XMA\_CONTEXT\*, APU\_ADDRESS)](/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffer_2)         | 출력 버퍼의 주소를 설정합니다.                     |
| [SetShapeXmaOutputBufferReadOffset](/reference/audio/shapexmacontext/functions/setshapexmaoutputbufferreadoffset)                            | 출력 버퍼의 읽기 오프셋을 설정합니다.                 |
| [SetShapeXmaOutputBufferSize](/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffersize)                                        | 출력 버퍼의 크기를 설정합니다.                     |
| [SetShapeXmaOutputBufferValid](/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffervalid)                                      | 출력 버퍼의 유효성 플래그를 설정합니다.                |
| [SetShapeXmaOverlapAddBuffer(SHAPE\_XMA\_CONTEXT\*, void\*)](/reference/audio/shapexmacontext/functions/setshapexmaoverlapaddbuffer)         | 오버랩-애드 버퍼의 주소를 설정합니다.                 |
| [SetShapeXmaOverlapAddBuffer(SHAPE\_XMA\_CONTEXT\*, APU\_ADDRESS)](/reference/audio/shapexmacontext/functions/setshapexmaoverlapaddbuffer_2) | 오버랩-애드 버퍼의 주소를 설정합니다.                 |
| [SetShapeXmaPacketMetadata](/reference/audio/shapexmacontext/functions/setshapexmapacketmetadata)                                            | 내부용으로 예약되어 있습니다.                      |
| [SetShapeXmaSampleRate(SHAPE\_XMA\_CONTEXT\*, SHAPE\_XMA\_SAMPLE\_RATE)](/reference/audio/shapexmacontext/functions/setshapexmasamplerate)   | 샘플 레이트를 설정합니다.                        |
| [SetShapeXmaSampleRate(SHAPE\_XMA\_CONTEXT\*, UINT32)](/reference/audio/shapexmacontext/functions/setshapexmasamplerate_2)                   | 샘플 레이트를 설정합니다.                        |
| [SetShapeXmaStopWhenDone](/reference/audio/shapexmacontext/functions/setshapexmastopwhendone)                                                | 내부용으로 예약되어 있습니다.                      |

## Structures

| Structure                                                                         | Description                    |
| --------------------------------------------------------------------------------- | ------------------------------ |
| [SHAPE\_XMA\_CONTEXT](/reference/audio/shapexmacontext/structs/shape_xma_context) | XBOX Media Audio(XMA) 컨텍스트입니다. |

## Enumerations

| Enumeration                                                                              | Description    |
| ---------------------------------------------------------------------------------------- | -------------- |
| [SHAPE\_XMA\_SAMPLE\_RATE](/reference/audio/shapexmacontext/enums/shape_xma_sample_rate) | 유효한 샘플 레이트입니다. |


## Related topics

- [SHAPE_XMA_CONTEXT](/ko/reference/audio/shapexmacontext/structs/shape_xma_context.md)
- [SetShapeXmaSampleRate(SHAPE_XMA_CONTEXT*, SHAPE_XMA_SAMPLE_RATE)](/ko/reference/audio/shapexmacontext/functions/setshapexmasamplerate.md)
- [SetShapeXmaOutputBuffer(SHAPE_XMA_CONTEXT*, void*)](/ko/reference/audio/shapexmacontext/functions/setshapexmaoutputbuffer.md)
- [SetShapeXmaOverlapAddBuffer(SHAPE_XMA_CONTEXT*, void*)](/ko/reference/audio/shapexmacontext/functions/setshapexmaoverlapaddbuffer.md)
- [SetShapeXmaInputBuffer0(SHAPE_XMA_CONTEXT*, const void*)](/ko/reference/audio/shapexmacontext/functions/setshapexmainputbuffer0.md)
