I've been working on an OpenGLES engine which is now running quite nicely and it's time to add support for sound. Using the MMdaAudioPlayerCallback and CMMFMdaAudioPlayerUtility classes illustrated in the Series60Ex 'sound' example, I can happily play wavs and mp3s. However, there is a delay of about 4 seconds between asking for and hearing the sound.
These two classes are fine for background audio, and I was impressed that their use with an mp3 audio track has no noticeable effect on the app's frame rate. But the ~4secs delay is of no use for realtime sound effects. Can anyone make a suggestion of a reliable solution for realtime audio?
Thanking you in advance,