AMr play on 6600 but not another series 60 phone.

Login to reply to this topic.
Thu, 2005-03-24 09:01
Joined: 2005-01-22
Forum posts: 112
hi buddy
i think ,
no one  know the answer of my question.
function play AMR sound file  on 6600 nokia phone but not another series60 phone. pls sove it.
thanks
   ibc->OpenFileL(KFileNameoc,KMMFExControllerUID,KMMFExControllerUID,
   KMMFExDesFormatUID, KMMFFourCCCodeAMR );

Sat, 2005-04-02 08:32
Joined: 2005-02-12
Forum posts: 98
AMr play on 6600 but not another series 60 phone.
AMr play back is suported onm allseries 60 phones.
Use CMdaAudioRecorderUtility class
Sat, 2005-04-02 12:19
Joined: 2005-01-22
Forum posts: 112
AMr play on 6600 but not another series 60 phone.
i m using this class nd function ibc->OpenFileL(KFileNameoc,KMMFExControllerUID,KMMFExControllerUID,
KMMFExDesFormatUID, KMMFFourCCCodeAMR );  
nd then ibc->PlayL().
but this play sound in 6600 but not in 6670. hey pls solve it.
Quote from: vikas_bansal
AMr play back is suported onm allseries 60 phones.
Use CMdaAudioRecorderUtility class
Sat, 2005-04-02 14:28
Joined: 2005-02-12
Forum posts: 98
Use Simple way
I don't have 6670 but i know and tested on  that playing amr file works on Nokia 3650,Ngage,6600,6620.

I think you first try to use in more simple manner.

ex.  iMdaAudioRecorderUtility = CMdaAudioRecorderUtility::NewL(*this,NULL,80); // to crate player

and then to play amr file...
First open file by player
iMdaAudioRecorderUtility->OpenFileL(KFullAmrPath);

and then finally in MoscoStateChangeEvent function
when state is== CMdaAudioRecorderUtility::EOpen

do  following
iMdaAudioRecorderUtility->PlayL();


Hope you will get it..
Sat, 2005-04-02 17:01
Joined: 2005-01-07
Forum posts: 19
AMr play on 6600 but not another series 60 phone.
Be sure to wait for MapcInitComplete to report KErrNone.

Once I had a project in which I did open the file and then play it immediately. This didn't work. Maybe this is your problem also.
Mon, 2005-04-04 06:13
Joined: 2005-01-22
Forum posts: 112
Re: Use Simple way
Quote from: vikas_bansal
I don't have 6670 but i know and tested on  that playing amr file works on Nokia 3650,Ngage,6600,6620.
thanks but how i will use when state is== CMdaAudioRecorderUtility::EOpen ?

I think you first try to use in more simple manner.

ex.  iMdaAudioRecorderUtility = CMdaAudioRecorderUtility::NewL(*this,NULL,80); // to crate player

and then to play amr file...
First open file by player
iMdaAudioRecorderUtility->OpenFileL(KFullAmrPath);

and then finally in MoscoStateChangeEvent function
when state is== CMdaAudioRecorderUtility::EOpen

do  following
 iMdaAudioRecorderUtility->PlayL();


Hope you will get it..
Fri, 2005-04-22 10:51
Joined: 2005-04-19
Forum posts: 24
AMr play on 6600 but not another series 60 phone.
Kia ora jai,

I've posted my snippet at http://forum.newlc.com/viewtopic.php?t=7085&highlight= which is what vikas_bansal was refering to with the "  is== CMdaAudioRecorderUtility::EOpen " statement.

After the " KErrNone " check you could (apparently) just put

if (aCurrent == CMdaAudioRecorderUtility::EOpen)
     {
     // PlayL();
     }

In saying that i've read these posts over and over again, i've read the SDK files over and over again, i've gone over the WAV and PCM examples in the SDK and EMCCSoft downloads but i still have no joy in playing AMR files using the Recorder " CMdaAudioRecorderUtility " (or anyother method - i'm developing for a Nokia 6670 also).

Is there anyone out there in Symbee-land who would like to share there AMR playing class (in detail) or perhaps provide a DLL?

I'm sure the community would be extremely appreciative (as I would Shocked)

Nga mihi,

Symbee

E kore koe e ngaro taku reo rangatira

  • Login to reply to this topic.