DirectX Tool Kit for Audio

The December 2013 release of DirectXTK is now available on CodePlex, and includes a C++ implementation of the XNA Game Studio’s low-level audio framework using XAudio2 and X3DAudio. AudioEngine – This class represents an XAudio2 audio graph, device, and mastering voice; similar to XNA’s AudioEngine. SoundEffect – A container class for sound resources which can…

0

Dual-use Coding Techniques for Games, part 3

Writing shared code for Windows Store, Xbox One, Universal Windows Platform (UWP) apps, and Win32 desktop apps (continued from part 1 and part 2) Windows Runtime (WinRT) APIs There are a number of areas of the system where you must use WinRT APIs to access the required functionality for Windows Store apps, and there is no…

0

Dual-use Coding Techniques for Games, part 2

Writing shared code for Windows Store, Xbox One, Universal Windows Platform (UWP) apps, and Win32 desktop apps (continued from part 1) Win32 APIs The majority of the “core” API family are new Windows Runtime (WinRT) style APIs which are not available for down-level Win32 desktop applications. Therefore the overlap is in Win32 APIs that are available…

2

Dual-use Coding Techniques for Games, part 1

Writing shared code for Windows Store, Xbox One, Universal Windows Platform (UWP) apps, and Win32 desktop apps Introduction Apps written for the Windows Store make use of the Windows Runtime (WinRT) and a restricted subset of Win32 APIs located in the core API family. Traditional Win32 desktop apps have access to a larger desktop API family,…

4

Direct3D Feature Levels

In various forums and discussion threads of late, I’ve seen some confusion about the difference between “DirectX 11” the API and “DirectX 11” the class of video hardware. The key to this is the concept of a “Feature Level” for devices which simplifies the old Direct3D 9 “sea of capabilities bits” to an increasingly capable group…

17

XAudio2 and Windows 8

The Windows 8 Consumer Preview includes version 2.8 of the XAudio2 game audio API built in, and this API is fully supported for both Windows Store apps (including x86, x64, and Windows on ARM) and desktop Win32 applications. The full details of the differences compared to XAudio2 2.7 which shipped in the DirectX SDK (June…

9

DirectXTK

The DirectXTex library does an excellent job of providing all the ‘texture content processing’ functionality from the venerable D3DX library (see “Where is the DirectX SDK?”), and DirectXMath (or the older XNAMath) takes over for D3DXMath. Shawn Hargreaves and I have been putting together another utility library, dubbed “DirectX Tool Kit” or “DirectXTK”, to address…

23