Bug in the Direct Music Tutorial
If anyone is interested in knowing why the example provided here:
http://www.gamedev.net/reference/articles/article1881.asp
refuses to play any sound file after you load it, play it, and restart your program, it's because you need to create separate objects for 3d and regular sound. The following objects need to be created separately:
A non 3d pSegment, pPerformance, and pLoader.
Don't forget to create separate Play and Stop wrapper functions for each segment or else you'll be pulling hair wondering why it won't work (at least I was).
If that's true, it's probably best to post it in the article related thread, so other people using the tutorial can benefit from your solution. :)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement