is CMdaAudioRecorderUtility not compitable with Nokia 3650/N-Gage
| Wed, 2005-08-24 12:23 | |
|
Hi.... I m trying to play soundfiles with CMdaAudioRecorderUtility .It is working fine with Nokia 6600 and Nokia 6680 but its not working with N-Gage and Nokia 3650. The code snippet which I m using is as follows: iSoundBytesBuffer = HBufC8::NewL(orgSize);//orgSize is size of sound file TPtr8 BufPtr(iSoundBytesBuffer->Des()); myfile.Read(BufPtr,orgSize); iMdaAudioRecorderUtility->OpenDesL(BufPtr); //in moscoChangeevent I m calling iPlayer->PlayL(); the code is working fine except for N-3650 and N-Gage.....I m not getting what I m doing wrong in this....whether these phones are compitable are not with this API? and ond thing more when does error KErrBadDescriptor occurs? Please help... Thanks in Advance... Pankaj Wise People talk because they have something to say . Fools talk because thay have to say somthing. |
|






Forum posts: 44
Does anyone know how to setting CMdaAudioRecorderUtility ?
I use CMdaAudioRecorderUtility to record voices in 6600, it went okay, the speed is normal.
But, when I use it in 6680 (the same program, the same settings)...the speed is not normal at all, it is much faster that in 6600 (playing mode)
here are my setting when playing
=========================================
CMdaAudioRecorderUtility* iMdaAudioRecorderUtility;
iMdaAudioRecorderUtility->SetAudioDeviceMode(CMdaAudioRecorderUtility::ELocal);
iMdaAudioRecorderUtility->SetVolume(iMdaAudioRecorderUtility->MaxVolume() - (iMdaAudioRecorderUtility->MaxVolume() / 4));
iMdaAudioRecorderUtility->SetPosition(iPosition);
iMdaAudioRecorderUtility->PlayL();
here are my setting when recording
=========================================
iMdaAudioRecorderUtility->SetGain(iMdaAudioRecorderUtility->MaxGain());
iMdaAudioRecorderUtility->SetPosition(TTimeIntervalMicroSeconds(0));
iMdaAudioRecorderUtility->RecordL();
Could anyone please tell me the problem? I would appreciate it.
Best regards,
Irma
Forum posts: 110
Forum posts: 17
the fuction not stop at the RecordL(),but leave.
the errcode is -18.
but i still don't know what to do.for help!