Challenge: Build your xact Project
The challenge in this chapter is simple. You only need to create an xact project similar to the example in this chapter. What's important is that using xact will make you feel comfortable, otherwise you will spend a lot of time rewriting unnecessary.CodeOr, you need to search for functions hidden somewhere you have not seen before in xact.
In addition, compile your own sound class for the xact project and perform unit tests first. Then implement the constructor and load the xact project, wave, and sound bank. Finally, implement the play method to make your unit test work normally. You can view the xnashotersoundproject and testsounds unit tests in this chapter.
Now you are an experienced xact user. For more details about xact, visit the official xact forum, which contains many tips. If you have any questions, you can also seek help from xact experts:
Http://forums.microsoft.com/MSDN/ShowForum.aspx? Forumid = 323.
When you try to use x3daudio, you can also check whether there is an updated version of the rocket Commander and learn how it works.