IXAudio2::SetDebugConfiguration method (xaudio2.h)

Changes global debug logging options for XAudio2.

Syntax

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

Parameters

pDebugConfiguration

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

pReserved

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.

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 xaudio2.h

See also

IXAudio2

XAudio2 Functions