OpenAl and Alut for making a Sound Manager
问题 I have been at this for quite a while. I am using C# for Serious Game Programing, and am working on the SoundManager code found in Chapter 9 of the book, if you want an exact reference. The Code is setting up a sound manager using OpenAl, and I am having a problem with the Alut interface (if that is the right word for what it is). Here is the code that I am working on: public void LoadSound(string soundId, string path) { int buffer = -1; Al.alGenBuffers(1, out buffer); int errorCode = Al