For the past two weeks I have been working with the Wwise sound API. It has been such a wild adventure.
I set out on this adventure because one of my students, who was the Wwise guru, was going to graduate in two weeks. He was responsible for helping so many students in setting up Wwise and that skill will be needed in the future. So I figured I’ll be the one that will take up the Wwise torch and run with it. What exciting things awaited me?
My first instinct was to read the documentation. I noticed that there was a setup walkthrough guide. “Wonder if the students saw this or tried to follow the guide before asking for help,” was my first thought as I saw the topic. I clicked on the link just as if I had opened large double doors of a forbidden temple. And as the doors slowly opened, I take notice of the different topics within the guide. I’m immediately hit with confusion. Why are the student programmers having issues? Little did I know the horror that awaited me as I delve deeper into the abyss of that documentation.
The walkthrough seems straight forward. Write this function, write that function. And so I did, even copying the comments they had written. “Okay, lets compile this. I’m sure something is not correct,” I thought.
The code compiled and revealed errors that no programmer ever wants to get, linker errors. Man, that’s like fighting a level 50 dragon when you just start a game and the game expects you to win.
Trying to remain patient, I look at the error and figured that I needed to just link to the proper library files but….. I already did that.
Irritated but not defeated, I look at the errors more closely and see that it had something to do with a Direct Sound function.I would have to say that it took me 2 hours to figure out that I needed to include another .lib file.
“Problem solved! Now its time to run this bad bo….what?! Another linker error?!”
Let me tell you, I’m already going bald and after dealing with all the setup woes, I might be missing part of my head!
All in all, I managed to get the engine running and tested it on different machines successfully. However, there are still some things that I have to add and I need to clean up the code before writing the tutorial.
I truly hope this tutorial helps everyone who is curious about using Wwise. Though the documentation is subpar (sorry Audiokinetic but it really is…), it is an awesome API! I should have the tutorial written in two weeks. Stay tuned.