AudioServicesCreateSystemSoundID((CFURLRef)filePath, &soundID);
AudioServicesPlaySystemSound(soundID);
I am playing a sound effect that is about 5 seconds long with the calls above. How do I stop the sound right in the middle of it playing?
Ethan
AudioServicesPlaySystemSound(soundID);
I am playing a sound effect that is about 5 seconds long with the calls above. How do I stop the sound right in the middle of it playing?
Ethan