IXAPO interface

The interface for an Audio Processing Object which be used in an XAudio2 effect chain.


The IXAPO interface has these methods.

Method Description
IXAPO::CalcInputFrames Returns the number of input frames required to generate the given number of output frames.
IXAPO::CalcOutputFrames Returns the number of output frames that will be generated from a given number of input frames.
IXAPO::GetRegistrationProperties Returns the registration properties of an XAPO.
IXAPO::Initialize Performs any effect-specific initialization.
IXAPO::IsInputFormatSupported Queries if a specific input format is supported for a given output format.
IXAPO::IsOutputFormatSupported Queries if a specific output format is supported for a given input format.
IXAPO::Process Runs the XAPO's digital signal processing (DSP) code on the given input and output buffers.
IXAPO::Reset Resets variables dependent on frame history.
IXAPO::UnlockForProcess Deallocates variables that were allocated with the LockForProcess method.
IXAPO::LockForProcess Called by XAudio2 to lock the input and output configurations of an XAPO allowing it to do any final initialization before Process is called on the realtime thread.


Platform Requirements

Windows 10 (XAudio2.9); Windows 8, Windows Phone 8 (XAudio 2.8); DirectX SDK (XAudio 2.7)


Target Platform Windows
Header xapo.h

See also