mmfenh/advancedaudiocontroller/audiocontrollerpluginsvariant/3gpDataSourceAdapter/Src/3gpDataSourceAdapter.cpp
branchRCL_3
changeset 7 709f89d8c047
parent 0 71ca22bcf22a
child 45 095bea5f582e
equal deleted inserted replaced
3:4f62049db6ac 7:709f89d8c047
   252         User::LeaveIfError(iMMDataSource->SetObserver(*this));
   252         User::LeaveIfError(iMMDataSource->SetObserver(*this));
   253         User::LeaveIfError(iMMDataSource->Open());
   253         User::LeaveIfError(iMMDataSource->Open());
   254         }
   254         }
   255 	if ((iSourceType == KUidMmfFileSource) || (iSourceType == KOldProgDLSourceUid))
   255 	if ((iSourceType == KUidMmfFileSource) || (iSourceType == KOldProgDLSourceUid))
   256     	{ // parser has file handle
   256     	{ // parser has file handle
       
   257     	if (iSourceType == KUidMmfFileSource) 
       
   258 		{
       
   259 	    	iIsLocalPlayback = ETrue;
       
   260 		}
   257 		// read async from lib when it has a file handle
   261 		// read async from lib when it has a file handle
   258 		iClip = static_cast<CMMFClip*>(iDataSource);
   262 		iClip = static_cast<CMMFClip*>(iDataSource);
   259         iDataSource->SourcePrimeL();
   263         iDataSource->SourcePrimeL();
   260    		iIsProtected = static_cast<CMMFFile*>(iDataSource)->IsProtectedL();
   264    		iIsProtected = static_cast<CMMFFile*>(iDataSource)->IsProtectedL();
   261 		iClip->SourceThreadLogon(*aAsyncEventHandler);
   265 		iClip->SourceThreadLogon(*aAsyncEventHandler);