|
|
User login
Feeds |
amr sound file play in 6600 but not in 7650 ?please solve?
|
|||||
| Wed, 2005-03-30 06:52 | |
|
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(); } }//////////////////////// |
|
Forum posts: 8
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
Forum posts: 239
--------------------------------------------------------------------------------
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
Forum posts: 11