Games for Windows and the DirectX SDK blog

Technical tips, tricks, and news about game development for Microsoft platforms including desktop, Xbox, and UWP

Project maintained by walbourn Hosted on GitHub Pages — Theme by mattgraham
Home | Posts by Tag | Posts by Month

Learning XAudio2


Originally posted to Chuck Walbourn's Blog on MSDN,

With the inclusion of XAudio2 in Windows 8, there’s been renewed interest in learning how to use this API. The documentation on Microsoft Docs is of course a great place to start, and be sure to read through the entire Programmer’s Guide as there’s lots of great information throughout. You should also start by watching the BUILD 2011 presentation on audio. There are also a number of presentations from past Gamefest events that cover audio and XAudio2. While these talks are focused on the older versions, XAudio 2.8 is essentially the same design and API with a few specific differences so this information is all very relevant.

Gamefest 2007

XAudio2 Goes Green: Making Game Audio a Sustainable Resource

Positioning Yourself for 3D: X3DAudio and Sound Spatialization

xAPOs Mark the Spot: The DSP Implementation Framework for XAudio2

Gamefest 2008

XAudio2: An Acoustic Architecture

XAudio2 Advanced

xAPOs: Build Your Own “Sound Shaders”

Gamefest 2010

XAudio2 - High Performance Considerations

The (3D) Sound of Success - X3DAudio and Sound Positioning

Gamefest 2011

Higher-Performance XAudio2

Making the Most of XAudio2’s xAPO Framework

Windows Store app samples

XAudio2 audio file playback sample

XAudio2 audio stream effect sample

Win32 desktop samples

XAudio2 Win32 Samples

MSDN Magazine

Windows 8 Sound Generation with XAudio2 (January 2013)

Constructing Audio Oscillators for Windows 8 (February 2013)

Streaming and Manipulating Audio Files in Windows 8 (April 2013)

Related: XDSP, XINPUT, DirectXTK for Audio, Known Issues: XAudio 2.7