Symbian Audio path problem
I have a symbian app written in c++. I need the MP3 that gets played to be played through the earpiece (or headset if connected). I f开发者_运维技巧ound this reference to doing it as a java midlet: http://library.developer.nokia.com/index.jsp?topic=/Java_Developers_Library/GUID-E6450E81-BC41-4495-9348-E6FA5ACDB765.html
So my question is: Is it possible to make the app create an instance of a java midlet and then play the mp3 through the earpiece. or is there a simpler way?
Thanks so much for your help
Why would you create the java midlet for this? There is an C++ API for playing the MP3 files. Use the CMdaAudioOutputStream
, which relies directly on the DSP support. All Symbian^3 phones and probably all S60 5th phones have MP3 hardware support. For other devices there are also classes like CMdaAudioPlayerUtility
, that uses the software MMF codecs.
BR STeN
精彩评论