amr sound file play in 6600 but not in 7650 ?please solve?

Login to reply to this topic.
Wed, 2005-03-30 06:52
Joined: 2005-01-22
Forum posts: 112
hi pls sove it, this code play amr file in 6600 but not in 7650 why? nd solve it pls
////////////////////////////


const TUid KMMFExControllerUID = {0x101F5022};
const TUid KMMFExDesFormatUID = {0x101FAF66};

////////////////////
void CAudio1Engine::SetFileL(const TDesC& aFileName)
   {
   if (iUtility)
   delete iUtility;

   {
   iUtility = CMdaAudioRecorderUtility::NewL( *this);
   iUtility->OpenFileL(aFileName,KMMFExControllerUID,KMMFExControllerUID,
   KMMFExDesFormatUID,KMMFFourCCCodeAMR);
   
      iUtility->PlayL();
}
   }////////////////////////

Wed, 2005-03-30 10:38
Joined: 2005-03-29
Forum posts: 8
amr sound file play in 6600 but not in 7650 ?please solve?
Hello,

Perhaps it has nothing to do with your problem but why are you using a recorder to play a file ? Use the player !

Did you compile your application with the Symbian DP1 sdk before using it on the 7650 ? 6600 is S60 Platform2 while 7650 is S60 Platform1 there may be a binary compatibility issue ...

Regards,

Xavier Garreau

Sat, 2005-04-02 15:02
Joined: 2004-12-23
Forum posts: 239
amr sound file play in 6600 but not in 7650 ?please solve?
Quote
Posted: Wed Mar 30, 2005 9:22 am    Post subject: amr sound file play in 6600 but not in 7650 ?please solve?

--------------------------------------------------------------------------------
 
hi pls sove it, this code play amr file in 6600 but not in 7650 why? nd solve it pls
////////////////////////////


const TUid KMMFExControllerUID = {0x101F5022};
const TUid KMMFExDesFormatUID = {0x101FAF66};

////////////////////
void CAudio1Engine::SetFileL(const TDesC& aFileName)
{
if (iUtility)
delete iUtility;

{
iUtility = CMdaAudioRecorderUtility::NewL( *this);
iUtility->OpenFileL(aFileName,KMMFExControllerUID,KMMFExControllerUID,
KMMFExDesFormatUID,KMMFFourCCCodeAMR);

iUtility->PlayL();
}
}////////////////////////

It is so because for 7650 sdk 1.2 works and the uid which u have used is not supported by this sdk.So better refer to amrmda.h.There u will find related uids..
Hope this will help u
Best of Luck

---------------
Bhatt Kavita

Wed, 2005-04-06 11:34
Joined: 2005-01-19
Forum posts: 11
amr sound file play in 6600 but not in 7650 ?please solve?
hey jai can u tell me that if i develop an application using j2me wireless toolkit, will it run on a nokia 6630. can u tell me in which sdk did u try building the player code before porting it to actual phone 'n how did u port the application on the real phone?
  • Login to reply to this topic.