Callback on Resource Load?

I need to switch streamed music tracks during my project. In the editor is seamless but on the iPhone I’m guessing it’s loading them into memory.

Is their anyway to tell when a resource has loaded so I can do some kind of a call back? It causes about a 1-2 second pause on device, which is fine if I can hold off everything else until the music has loaded.

There is no such information offered by the device for hardware decompressed sounds.
Once its ready it will play.

Thanks. I guess I’m late to the ‘streamed’ audio party. What it is doing that causes such a long pause? Is it loading the compressed file into ram and and hardware decompressing from there?

If so I guess I’ll just add a wait for a second or something before the game continues.

Cheers!