Skip to main content

XDspDisconnect

Disconnect from the hardware server and release all resources allocated during XDspConnect.

Syntax

Parameters

handle   _In_
Type: XDspClientHandle
Handle created by calling XDspConnect.

Return value

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

Remarks

All XDSP streams must be deactivated successfully before calling this function. baseBuffer memory that was passed to XDspConnect may be freed after calling XDspDisconnect.

Requirements

Header: XDspAudio.h Library: Chad.lib Supported platforms: XBOX Series X|S

Conceptual documentation

See also

XDSP
XDspConnect
XDSP Errors
Overview of a single stream Convolution using the XDSP API
Overview of a single stream FFT/IFFT using the XDSP API
Overview of a single stream Convolution with Envelope using the XDSP API
Last modified on August 20, 2026