I'm not sure if this is just me having this issue, or maybe I'm simply mistakingly doing something horribly wrong here. What I thought was a simple implementation ended up being something much more complex.
So in my game I'm playing a background sound file, works like a charm.
[[SimpleAudioEngine sharedEngine] playBackgroundMusic:@"MoleMusic.aif" loop:FALSE];
And then I thought, "Hey let me add in a sound effect when something happens" so I immediately put this:
[[SimpleAudioEngine sharedEngine] playEffect:@"Sound.aif"];
And it didn't work. it doesn't work with "aif", "caf", or "wav". It doesn't work with my background music which is just under 30 seconds so should qualify as a valid effect file. I tried making a blank project and it didn't work in there either. And just to clarify I am including the "SimpleAudioEngine.h" file to my project file as well.
Anyone have any hints, recommendations, inside loop to a psych ward before I go crazy? :)