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

# SHAPE_SRC_CONTEXT

> SHAPE_SRC_CONTEXT

# SHAPE\_SRC\_CONTEXT

Sample Rate Convertor(SRC) 컨텍스트입니다.

## Syntax

```cpp theme={null}
typedef struct SHAPE_SRC_CONTEXT {  
    UINT32 timestamp : 21;  
    UINT32 blocksToSkip : 2;  
    UINT32 internalSaturate : 1;  
    UINT32 mixBufPeakMag : 4;  
    UINT32 peakMag : 4;  
    UINT32 samplingIncrement : 21;  
    UINT32 reserved0 : 1;  
    UINT32 cmd : 2;  
    UINT32 mixBufPeakMag2 : 4;  
    UINT32 peakMag2 : 4;  
    UINT32 sampleCount : 32;  
    UINT32 samplePointer : 25;  
    UINT32 reserved1 : 7;  
    UINT32 samplingIncrementTarget : 21;  
    UINT32 reserved2 : 11;  
    UINT32 reserved[3];  
};  
```

### 멤버

*timestamp*\
형식: UINT32

Read: 컨텍스트 처리 완료 시점의 타임스탬프입니다.

*blocksToSkip*\
형식: UINT32

Write: 시작 시 건너뛸 XMA 블록의 수입니다.

*internalSaturate*\
형식: UINT32

Read: SRC가 포화된 경우 1이고 그렇지 않으면 0입니다.

*mixBufPeakMag*\
형식: UINT32

Read: 왼쪽(또는 모노) 출력 믹스 버퍼의 피크 크기입니다.

*peakMag*\
형식: UINT32

Read: 왼쪽(또는 모노) 채널의 피크 크기입니다.

*samplingIncrement*\
형식: UINT32

Read/Write: 샘플링 증분 값의 시작 값입니다.

*reserved0*\
형식: UINT32

예약됨.

*cmd*\
형식: UINT32

Read/Write: [SHAPE\_SRC\_COMMAND\_TYPE](/reference/audio/shapesrccontext/enums/shape_src_command_type) 열거형의 멤버입니다.

*mixBufPeakMag2*\
형식: UINT32

Read: 오른쪽(또는 두 번째) 출력 믹스 버퍼의 피크 크기입니다.

*peakMag2*\
형식: UINT32

Read: 오른쪽(또는 두 번째) 채널의 피크 크기입니다.

*sampleCount*\
형식: UINT32

Read: 재생이 시작된 이후에 처리된 오디오 샘플의 수입니다.

*samplePointer*\
형식: UINT32

Read/Write: 현재 XMA/PCM 입력 샘플에 대한 포인터입니다.

*reserved1*\
형식: UINT32

예약됨.

*samplingIncrementTarget*\
형식: UINT32

Read/Write: 샘플링 증분 값의 목표 값 또는 종료 값입니다.

*reserved2*\
형식: UINT32

예약됨.

*reserved*\
형식: UINT32\[3]

예약됨.

## 설명

이 구조체는 SRC 블록의 컨텍스트를 포함합니다. SRC는 샘플 레이트 변환과 피치 시프팅을 수행합니다.

**Read**로 표시된 멤버는 Audio Control Processor(ACP) 라이브러리에 의해 쓰여지며, 애플리케이션에서는 읽기만 해야 합니다. **Write**로 표시된 멤버는 애플리케이션에서 설정하며, ACP 라이브러리에 의해 변경되지 않습니다. **Read/Write**로 표시된 멤버는 애플리케이션에서 설정하지만 ACP 라이브러리에 의해 변경될 수 있습니다. SRC에 대한 자세한 내용은 [Overview of SHAPE](/build/console-features/audio/overviews/shape-overview)의 [Sample Rate Convertor (SRC) block](/build/console-features/audio/overviews/shape-overview#ID4EOE)을 참조하세요.

## 요구 사항

**헤더:** shapesrccontext.h

**지원 플랫폼:** XBOX One 제품군 콘솔 및 XBOX Series 콘솔

## 개념 설명서

* [ACP overview](/build/console-features/audio/overviews/acp-overview)

## 참고 항목

[ShapeSrcContext](/reference/audio/shapesrccontext/shapesrccontext_members)


## Related topics

- [ShapeSrcContext](/ko/reference/audio/shapesrccontext/shapesrccontext_members.md)
- [GetShapeSrcTimestamp](/ko/reference/audio/shapesrccontext/functions/getshapesrctimestamp.md)
- [GetShapeSrcPitch](/ko/reference/audio/shapesrccontext/functions/getshapesrcpitch.md)
- [SetShapeSrcCommand](/ko/reference/audio/shapesrccontext/functions/shapesrccontext_setshapesrccommand.md)
- [SetShapeSrcPitch](/ko/reference/audio/shapesrccontext/functions/setshapesrcpitch.md)
