I think I'm missing a fundamental concept here .
I'm just trying to play a file on my S60 (6620) phone, using FP2.
1. I don't understand which file I should even be instantiating the CMdaAudioPlayerUtility class in.
2. The callback class that needs to be used with CMdaAudioPlayerUtility is MMdaAudioPlayerCallback. In the MMdaAudioPlayerCallback.h file the comments are:
The class is a mixin and is intended to be inherited by the client
class which is observing the audio playing operation. The functions
encapsulated by this class are called when specific events occur in
the process of initialising and playing an audio sample. A reference to
this object is passed as a parameter when constructing an audio player
I don't understand this, am I supposed to build my own class, and inherit this class as well in order to do this? Going by a .pdf I have it suggests this: CMdaAudioPlayerUtility* iPlayer = CMdaAudioPlayerUtility::NewL(*this);
But, since I'm not sure about my 1st Question, I have just put this line in my "SecretaryAppui.cpp" file. So of course I can't use *this.
I'm sure someone is saying already, omg, he's really lost .. any help would be appreciated.. believe it or not, I work in Embedded C currently, but this seems quite difficult to start off..