I am playing a small .wav file using the AudioToolBox.
AudioServicesPlaySystemSound (soundFileObject);
But sometimes it is not playing.
Maybe it's this issue? AudioServicesDisposeSystemSoundID() will stop the sound work before playing.
AudioServicesDisposeSystemSoundID()