I'm developing an iPhone game and currently using AVAudioPlayer for playing background music and sounds. From what I've been reading, I'm not sure if that's the best way, but other alternatives seem to be overly complex.
Is there any good open source framework that works on the iPhone and I can integrate? I only need to control the volume and trigger sounds based on different game events.
Clarification: AVAudioPlayer meets my needs for playing one sound, but I'd like a wrapper class where I can set up multiple sounds and have them play based on some key.
It's not clear from your message whether AVAudioPlayer meets your needs. On the one hand you didn't mention any shortcomings you've encountered, but on the other hand your asking for alternatives suggests there are some.
If AVAudioPlayer does meet your needs, why make life difficult?
If AVAudioPlayer does not meet your needs, you need to explain what else you need before anyone can do anything but guess at what you're looking for.
The sound engine that Apple includes in their moon lander sample code application allows for playing multiple sounds at a time and everything.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With