Dumping DirectMusic for DirectSound

Started by
-1 comments, last by slowmike 15 years, 4 months ago
Due to updating my SDK to August 2008, my older programs that used Direct Music no longer compile. I'm trying to implement Direct Sound in my current project, but I'm not sure how to load a .WAV file since DS doesn't have its own functions for doing so. MSDN says to look in DXUTsound.cpp for some classes to help with this, but I can't seem to locate that file. I'd prefer to have some sample source code to look over anyways, but I can't seem to find any examples online. I'm going to keep looking online, and I'll probably get the latest SDK update, but I don't think this will help me. If anyone can help, that'd be great. Maybe just some source code for loading a .WAV file and copying it into an IDirectSoundBuffer. Just keep in mind that I don't want to use any deprecated Direct Music stuff. Thanks!

This topic is closed to new replies.

Advertisement