mmfenh/advancedaudiocontroller/tsrc/advancedaudiocontrollertestmodule/AudioPlaybackTestModule/src/SimpleSoundPlayer.cpp
branchRCL_3
changeset 7 709f89d8c047
parent 0 71ca22bcf22a
child 21 2ed61feeead6
equal deleted inserted replaced
3:4f62049db6ac 7:709f89d8c047
   690 
   690 
   691 void CSimpleSoundPlayer::GetLoad_Percentage()
   691 void CSimpleSoundPlayer::GetLoad_Percentage()
   692 	{
   692 	{
   693 	TInt percentage;
   693 	TInt percentage;
   694 	iLogger.Log(_L("Trying to GetLoad_Percentage\n ") );
   694 	iLogger.Log(_L("Trying to GetLoad_Percentage\n ") );
   695 	iMdaPlayer->GetAudioLoadingProgressL(percentage);
   695 	TRAPD(err,iMdaPlayer->GetAudioLoadingProgressL(percentage)); //Controller doesnt support GetAudioLoadingProgressL.
       
   696 	if( err == KErrNotSupported )
       
   697 	    {
       
   698 	    iFinalError = 0;
       
   699 	    }
   696 	iLogger.Log(_L("GetAudioLoadingProgressL (%d)") , percentage);
   700 	iLogger.Log(_L("GetAudioLoadingProgressL (%d)") , percentage);
   697 	}
   701 	}
   698 
   702 
   699 void CSimpleSoundPlayer::GetBit_Rate()
   703 void CSimpleSoundPlayer::GetBit_Rate()
   700 	{
   704 	{
   789 	iLogger.Log(_L("CancelRegisterAudioResourceNotification finished") );
   793 	iLogger.Log(_L("CancelRegisterAudioResourceNotification finished") );
   790 	}
   794 	}
   791 
   795 
   792 void CSimpleSoundPlayer::CtrImpInfo()
   796 void CSimpleSoundPlayer::CtrImpInfo()
   793 	{
   797 	{
   794 	iLogger.Log(_L("Trying to GetLoad_Percentage\n ") );
   798 	iLogger.Log(_L("Trying to CtrImpInfo\n ") );
   795 	const CMMFControllerImplementationInformation& info = iMdaPlayer->ControllerImplementationInformationL();
   799     const CMMFControllerImplementationInformation& info = iMdaPlayer->ControllerImplementationInformationL();
   796 	iLogger.Log(_L("GetDRMCustomCommand() finished") );
   800 	iLogger.Log(_L("CtrImpInfo finished") );
   797 	}
   801 	}
   798 
   802 
   799 void CSimpleSoundPlayer::Set_Priority()
   803 void CSimpleSoundPlayer::Set_Priority()
   800 	{
   804 	{
   801 	iLogger.Log(_L("Trying to Set_Prioritye\n ") );
   805 	iLogger.Log(_L("Trying to Set_Prioritye\n ") );