Pretty simple, I\'m using one button that generates a random number and then with a switch/case, it animates an image and plays a sound. My problem is that when you press th
I just dicovered the answer to my own question.
What I did was
SoundSystemID soundID;
in the header. AudioServicesDisposeSystemSoundID(soundID);
Remember that if you are going to play the sound again, you will need to load the resource again after disposing of it.
Thank you guys, anyway.