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

# AcpHalReleaseShapeContexts

> AcpHalReleaseShapeContexts

# AcpHalReleaseShapeContexts

Scalable Hardware Audio Processing Engine(SHAPE) 및 XBOX Media Audio(XMA)에 대한 컨텍스트 배열을 해제합니다.

## 구문

```cpp theme={null}
HRESULT AcpHalReleaseShapeContexts(  
)  
```

### 매개 변수

없음.

### 반환 값

형식: HRESULT

메서드가 성공하면 `S_OK`를 반환합니다. 메서드가 실패하면 다음 코드 중 하나를 반환합니다(부분 목록):

| 반환 코드                  | 설명                   |
| ---------------------- | -------------------- |
| ACP\_E\_NOT\_ALLOCATED | 컨텍스트 배열이 할당되지 않았습니다. |

## 설명

[AcpHalAllocateShapeContexts](/reference/audio/acphal/functions/acphalallocateshapecontexts)를 호출하여 만든 Audio Control Processor(ACP) 컨텍스트를 해제하려면 이 메서드를 호출합니다.

모든 ACP 및 SHAPE 리소스(특히 컨텍스트 배열)는 모든 클라이언트 간에 공유됩니다. 클라이언트는 이러한 리소스의 할당 및 공유를 조정해야 합니다.

## 요구 사항

**헤더:** acphal.h

**라이브러리:** acphal.lib

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

## 관련 항목

[AcpHalAllocateShapeContexts](/reference/audio/acphal/functions/acphalallocateshapecontexts)\
[AcpHal](/reference/audio/acphal/acphal_members)


## Related topics

- [AcpHalAllocateShapeContexts](/ko/reference/audio/acphal/functions/acphalallocateshapecontexts.md)
- [AcpHal](/ko/reference/audio/acphal/acphal_members.md)
- [IAcpHal::Connect](/ko/reference/audio/acphal/interfaces/IAcpHal/methods/iacphal_connect.md)
- [ACP_MESSAGE_ERROR](/ko/reference/audio/acphal/structs/acp_message_error.md)
- [SHAPE_CONTEXTS](/ko/reference/audio/acphal/structs/shape_contexts.md)
