IXAudio2::SetDebugConfiguration Method

Changes global debug logging options for XAudio2.

Syntax

public:
void SetDebugConfiguration(
         const XAUDIO2_DEBUG_CONFIGURATION *pDebugConfiguration,
         void *pReserved
)  

Parameters

pDebugConfiguration
Type: XAUDIO2_DEBUG_CONFIGURATION *

[in, optional] Pointer to a XAUDIO2_DEBUG_CONFIGURATION structure that contains the new debug configuration.

pReserved
Type: void *

[in, optional] Reserved. Must be null.

Return value

None.

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.

Requirements

Header: Declared in xaudio2.h.

Library: Use xaudio2.lib.

See also

IXAudio2

IXAudio2 Members