IXAudio2::SetDebugConfiguration method

Changes global debug logging options for XAudio2.

Syntax


void SetDebugConfiguration(
   XAUDIO2_DEBUG_CONFIGURATION *pDebugConfiguration,
   VOID                        *pReserved
);

Parameters

pDebugConfiguration

Pointer to a XAUDIO2_DEBUG_CONFIGURATION structure that contains the new debug configuration.

pReserved

This parameter is reserved and must be NULL.

Return value

This method does not return a value.

Remarks

SetDebugConfiguration sets the debug configuration for the given instance of XAudio2 engine. See XAUDIO2_DEBUG_CONFIGURATION Structure for supported debug options. By default, XAudio2 does not log debug output or break on errors.

Platform Requirements

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

Requirements

Header

Xaudio2.h

See also

IXAudio2
XAudio2 Functions

 

 

Show: