mmfenh/advancedaudiocontroller/audiocontrollerpluginsvariant/AdvancedAudioController/Src/AdvancedAudioPlayController.cpp
changeset 16 43d09473c595
parent 14 80975da52420
child 21 2ed61feeead6
child 31 8dfd592727cb
equal deleted inserted replaced
14:80975da52420 16:43d09473c595
   839         iAudioUtility->SetObserver(*this);
   839         iAudioUtility->SetObserver(*this);
   840         }
   840         }
   841 
   841 
   842     // we need to block this until duration is calculated if using mmfplayutility
   842     // we need to block this until duration is calculated if using mmfplayutility
   843     iBlockDuration = EFalse;
   843     iBlockDuration = EFalse;
   844 // ou1cimx1#205863
       
   845     if (!iDataSourceAdapter->IsLocalPlayback()) 
       
   846     	{
       
   847 	    DP0(_L("CAdvancedAudioPlayController::AddDataSourceL not file source"));        
       
   848 	    if (iSharedBufferMaxNum <= 2)
       
   849 	        {
       
   850 	        	iSharedBufferMaxNum = 3;
       
   851 	        }
       
   852 		 iSharedBufferMaxSize = iSharedBufferMaxSizeForNonSeekableSrc;
       
   853 	    DP2(_L("CAdvancedAudioPlayController::AddDataSourceL new iSharedBufferMaxNum[%d] iSharedBufferMaxSize[%d]"), iSharedBufferMaxNum, iSharedBufferMaxSize);
       
   854     	}
       
   855     
   844     
   856     if ((!iEventsEnabled) && (!iDataSourceAdapter->OnlyHeaderPresent()))
   845     if ((!iEventsEnabled) && (!iDataSourceAdapter->OnlyHeaderPresent()))
   857         {
   846         {
   858         // recorder inserts just the header into the file before recording
   847         // recorder inserts just the header into the file before recording
   859         // we don't want to prime in this case
   848         // we don't want to prime in this case