Archives

iPhone SDK CFURLRef C++ in Obj-C _AudioServicesCreateSystemSoundID

Maybe I’m just stupid, but playing a simple sound with the iPhone SDK was ridiculously hard to do. I finally go it working. It took a number of tricks, such as adding AudioToolbox.framework (found here). Go ahead and mix C++ and Obj-C. And of course, you have to create the CFURLRef, however you want to…Continue Reading…