How do you play preloaded music? The documentation doesn't give much detail into all of the functions of 'SimpleAudioEngine'
backgroundAmbience = [SimpleAudioEngine sharedEngine];
if (backgroundAmbience != nil) {
[backgroundAmbience preloadBackgroundMusic:@"ambience.mp3"];
if (backgroundAmbience.willPlayBackgroundMusic) {
backgroundAmbience.backgroundMusicVolume = 0.5f;
}
}
I preload the music but then how do I get 'backgroundAmbience' to play?
Thanks