Read-only archive of the All About Symbian forum (2001–2013) · About this archive

audio play problem

0 replies · 1,994 views · Started 07 June 2005

my question is :
when i use CMdaAudioPlayerUtility class to play .wav files.
i load the file resources before(when start the game), and at the runtime, i want to play the audio immediately after user press one key. But in fact, it will delay about one or more seconds after user press the key to play the audio file.(on the emulator, there is no problem, but on 6600 it occurs). how could you fix these.
i also have try to using CMMFDevsound to fix it, but i do not know how to put the file auido data into "CMMFBuffer* aBuffer" , the parameter of callback function BufferToBeFilled. any sample codes to do this??
thanks for any reply.