This article needs additional citations for verification. (October 2013) |
Developer(s) | Microsoft |
---|---|
Initial release | March 7, 2008[1] |
Stable release | 2.9
/ July 29, 2015[2] |
Operating system | Windows XP and later, Xbox 360, Windows Phone 8 |
Type | Application programming interface (API) |
XAudio2 is a lower-level audio API for Microsoft Windows, Xbox 360 and Windows Phone 8, the successor to DirectSound on Windows and a supplement to the original XAudio on the Xbox 360.[3][4][5]
XAudio2 operates through the XAudio API on the Xbox 360, through DirectSound on Windows XP, and through the low-level audio mixer WASAPI on Windows Vista and higher.
The RTM release of the XAudio2 library is included in the March 2008 DirectX SDK,[6] enabling a programmer with Visual Studio to use XAudio2 in a Windows, Xbox 360 and Windows Phone 8 project. The latest version of XAudio2 is 2.9, released for Windows 10.[2]
XAudio2 versions have shipped for use on Xbox 360 and versions of Windows, and for as old as Windows XP using redistributable DLLs, with newer versions adding features only compatible with newer operating systems.[7] E.g. XAudio 2.8 shipped with Windows 8, and supports Windows Store apps, and isn't available for older Windows versions nor is it included in Windows Server 2012.
There are known issues with XAudio2 2.7 library that is "in the legacy DirectX SDK".[8]
"XAudio2: High Performance Considerations" (talk) supports Windows 7.[9]
versions
was invoked but never defined (see the help page).The XAudio2 library in the legacy DirectX SDK makes use of COM creation and reference counting for lifetime management, and a recent investigation has found a problem in this implementation. [..] This issue does not affect XAudio 2.8 (Windows 8 SDK), XAudio 2.9 (Windows 10 SDK)