|
|
User login
Feeds |
AMr play on 6600 but not another series 60 phone.
|
|||||
| Thu, 2005-03-24 09:01 | |
|
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 ); |
|
Forum posts: 98
Use CMdaAudioRecorderUtility class
Forum posts: 112
KMMFExDesFormatUID, KMMFFourCCCodeAMR );
nd then ibc->PlayL().
but this play sound in 6600 but not in 6670. hey pls solve it.
Use CMdaAudioRecorderUtility class
Forum posts: 98
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..
Forum posts: 19
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.
Forum posts: 112
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..
Forum posts: 24
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
Nga mihi,
Symbee
E kore koe e ngaro taku reo rangatira