Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

XAUDIO2_EFFECT_DESCRIPTOR structure

Contains information about an XAPO for use in an effect chain.

Syntax


typedef struct XAUDIO2_EFFECT_DESCRIPTOR {
  IUnknown *pEffect;
  BOOL     InitialState;
  UINT32   OutputChannels;
} XAUDIO2_EFFECT_DESCRIPTOR;

Members

pEffect

Pointer to the IUnknown interface of the XAPO object.

InitialState

TRUE if the effect should begin in the enabled state. Otherwise, FALSE.

OutputChannels

Number of output channels the effect should produce.

Remarks

XAPO instances are passed to XAudio2 as IUnknown interfaces and XAudio2 uses IXAPO::QueryInterface to acquire an IXAPO interface and to detect whether the XAPO implements the IXAPOParameters interface.

For additional information on using XAPOs with XAudio2 see How to: Create an Effect Chain and How to: Use an XAPO in XAudio2.

Platform Requirements

Windows 8, Windows Phone 8 (XAudio 2.8); DirectX SDK (XAudio 2.7)

Requirements

Header

Xaudio2.h

See also

XAudio2 Structures
XAudio2_Effect_Chain
XAPO Overview

 

 

Community Additions

Show:
© 2015 Microsoft