Is possible reproduce mp3 files using the class CMdaAudioPlayerUtility??? I´ve been trying it, I can´t heard the sound...
Thanks for reading this for your help
Miriam
in S60V21 the MMF included MP3 decoder, but S60V20 doesn't, nor the MDA in V0.9-1.2. To playback MP3 in devices prior to S60v21, you need your own decoder, either:
a plug-ins for MMF of S60V20
or
your sound mixer and/or decoder
It's possible to playback if you have the decode plug-in/dll/whatever.
You must obtain MP3 decode license from MP3 licenseer, they will also send you a C/C++ source code. You can convert it to Symbian C++.
Just one thing I observed, the play back of general MP3 players for Symbian on the market weren't as good as the build-in one on S60v21 devices. May be the MMF MP3 plug-in/decoder was optimized.
Yes, the weakness is the lack of floating point hardware.
Some alternative way is to try to multiply your value to some 1000 times or so. Then do your calculation in integer (TInt, 32 bits, right?) When you proved your new calculations are correct, you can try to speed it up by changing your code, for example, use shift when multiple by 2 (or 2 powers, both + and - )
My experience is, for some repeat millions calculation of some divide by 2, after this kind of optimization, usually 20% performance improvement.
To be more real, I shorten a lengthy calculation from 30 seconds down to 10 or 6 seconds (I forgot the exact value)