CMdaAudioPlayerUtility::NewL problem, please help me!

Login to reply to this topic.
Tue, 2005-02-15 19:18
Joined: 2005-02-15
Forum posts: 12
Hi all,

when I try to call

CMdaAudioPlayerUtility::NewL(*this)

or

CMdaAudioPlayerUtility::NewFilePlayerL(aFile,*this)

in the example from newlc.com (http://www.newlc.com/article.php3?id_article=38) my emulator freezes, and the well known microsoft error report with "Don't send" button pops up.

The class is inhereted from MMdaAudioPlayerCallback:

class CSoundPlayer: public CBase, public MMdaAudioPlayerCallback
{
...
}

And the callback functions are also defined:

void CSoundPlayer::MapcInitComplete(TInt aError, const TTimeIntervalMicroSeconds& /*aDuration*/)
{
    iState = aError ? ENotReady : EReady;
}


void CSoundPlayer::MapcPlayComplete(TInt aError)
{
    iState = aError ? ENotReady : EReady;
}


The situation was the same, when I was trying to realize audio output with CMdaAudioOutputStream. I can't get throught the problem. Please, help me!

Thank you very much in advance!

Best regards,
Balint Toth

Mon, 2005-03-14 06:55
Joined: 2005-01-31
Forum posts: 122
CMdaAudioPlayerUtility::NewL problem, please help me!
Hi

I am facing the same problem. If you have it solved, could you please let me know?

Thanks in anticipation
kurtrips
Fri, 2005-04-08 09:15
Joined: 2005-04-04
Forum posts: 7
CMdaAudioPlayerUtility::NewL problem, please help me!
See "sound example" in SDK - all work.
Thu, 2005-06-09 13:38
Joined: 2005-04-27
Forum posts: 28
Re: CMdaAudioPlayerUtility::NewL problem, please help me!
Just check the path of your file. That  whether your file is present
at the location specified. This kight solve ur problem & if not send the code.
  • Login to reply to this topic.