IXAudio2::GetPerformanceData method (xaudio2.h)

Returns current resource usage details, such as available memory or CPU usage.

Syntax

void GetPerformanceData(
  [out] XAUDIO2_PERFORMANCE_DATA *pPerfData
);

Parameters

[out] pPerfData

On success, pointer to an XAUDIO2_PERFORMANCE_DATA structure that is returned.

Return value

None

Remarks

For specific information on the statistics returned by GetPerformanceData, see the XAUDIO2_PERFORMANCE_DATA structure reference.

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