I'm looking for a method similar to [[CCDirector sharedDirector] purgeCachedData] for the SimpleAudioEngine.
I preload sound effects for my game, but various levels require different sound effects, I noticed that I'm perhaps wasting memory by leaving effects from the first level loaded when they aren't needed.
I know I could use...
[[SimpleAudioEngine sharedEngine] unloadEffect:@"effect.wav"]
...but sometimes I want to unload 10-20 effects. I've been poking around and can't find a method that unloads them all. (I realise this could be wasteful if I am reloading some sounds I've just unloaded, so I would need to be careful, but there are certain circumstances where it's required.)