When I implement sounds in my apps, I always ge a couple of yellow warning triangles with the warning:
"implicit declaration of function "audio services create system soundID" is invalid in C99"
It doesn't effect anything in my app I just wondered if it's something in my code and something I should be addressing?
CFBundleRef mainBundle = CFBundleGetMainBundle();
CFURLRef soundFileURLRef;
soundFileURLRef = CFBundleCopyResourceURL(mainBundle, (CFStringRef) @"btnclick", CFSTR
("mp3"), NULL);
UInt32 soundID;
AudioServicesCreateSystemSoundID (soundFileURLRef, &soundID);
AudioServicesPlaySystemSound (soundID);