Skip to main content

XDspActivationParameters

XDSP activation parameters.

Syntax

Members

type
Type: XDspProcessType
For each activation, there is only one valid processing type. For example, if forward and inverse FFT are required, two XDSP streams must be activated one for each type. options
Type: XDspActivationOptions
Activation options. blockFrameCount
Type: uint32_t
Number of frames per input and output block of data that would be passed to XDSP via XDspSubmitCommand. This value must be a power of two. 512, 1024 are the supported values for XDspProcessType::Convolution. 512, 1024, 2048 are the supported values for XDspProcessType::ForwardFourierTransform and XDspProcessType::InverseFourierTransform. channelCount
Type: uint32_t
1 for mono input stream, or 2 for stereo input stream for XDspProcessType::Convolution. This should always be set to 1 for XDspProcessType::ForwardFourierTransform and XDspProcessType::InverseFourierTransform. impulseResponseLengthInFloats
Type: uint32_t
Impulse Response length that will be used during XDspProcessType::Convolution processing, in units of floats. As an example, if the impulse response contains N number of complex float value pair samples, then this value should be set to N * 2, as each complex float value pair is represented using two floats. For XDspProcessType::ForwardFourierTransform and XDspProcessType::InverseFourierTransform this parameter must be zero. impulseResponse
Type: float*
Buffer of length (impulseResponseLengthInFloats * sizeof(float)) bytes that hold the impulse response as a series of complex float values (pair of real and imaginary values). This means that the buffer will have (impulseResponseLengthInFloats / 2) number of complex float value pairs. The buffer length must be (impulseResponseLengthInFloats * sizeof(float) * channelCount) bytes, if XDspActivationOptions::StereoImpulseResponse is set and XDspActivationParameters::channelCount is equal to 2. For XDspProcessType::ForwardFourierTransform and XDspProcessType::InverseFourierTransform this parameter must be set to nullptr. This buffer need not be from the baseBuffer registered by XDspConnect.

Requirements

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

Conceptual documentation

See also

XDSP
XDspProcessType
XDspActivationOptions
XDspSubmitCommand
XDspActivationParameters
XDspConnect
Overview of a single stream Convolution using the XDSP API
Overview of a single stream FFT/IFFT using the XDSP API
Last modified on August 20, 2026