I programmed a simple sound player, but when I call Play() in my MapcInitComplete function, the callback MapcPlayComplete returns a -18 KErrNotReady error.
Why does this happen?
I programmed a simple sound player, but when I call Play() in my MapcInitComplete function, the callback MapcPlayComplete returns a -18 KErrNotReady error.
Why does this happen?
have you opened the file succesfully before calling play ?
yucca
you need to wait untill the file is opened succesfully before you can call play. So check the callback interface functions, and do call the play in the one that tells you when the file has been opened.
thank you very much..
i think this solves the problem..
![]()
If you want to play the sound immediately when it becomes available, invoke Play in MapcInitComplete (at least if aError==KErrNone...).
Hi,
Check this basic example of how to play the audio files
http://wiki.forum.nokia.com/index.ph...ng_audio_files
Maximus
S60 Developer
Impossible is nothing