Skip to main content

AcpHalReleaseShapeContexts

Releases context arrays for the Scalable Hardware Audio Processing Engine (SHAPE) and XBOX Media Audio (XMA).

Syntax

Parameters

None.

Return value

Type: HRESULT If the method succeeds, it returns S_OK. If the method fails, it returns one of the following codes (partial list):

Remarks

Call this method to release Audio Control Processor (ACP) contexts that you created by calling AcpHalAllocateShapeContexts. All ACP and SHAPE resources (context arrays in particular) are shared among all clients. The clients must coordinate the allocation and sharing of those resources.

Requirements

Header: acphal.h Library: acphal.lib Supported platforms: XBOX One family consoles and XBOX Series consoles

See also

AcpHalAllocateShapeContexts
AcpHal
Last modified on August 20, 2026