IXAPO interface (xapo.h)

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

Inheritance

The IXAPO interface inherits from the IUnknown interface. IXAPO also has these types of members:

Methods

The IXAPO interface has these methods.

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

Remarks

Platform Requirements

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

Requirements

Requirement Value
Target Platform Windows
Header xapo.h

See also

Interfaces