Including the Sound Namespace

Well, it's been a while since you've needed to add any new references to one of the applications. Naturally the sound resources that you will need to use do not reside in the Direct3D namespace; you will instead need to use the Microsoft.DirectX.DirectSound namespace. For each of the examples in this chapter, you will need to add a reference to this assembly for the project, as well as add a using clause for this namespace.

Get Managed DirectX® 9 Kick Start: Graphics and Game Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.