devsound/a3fdevsound/src/mmfdevsoundserver/mmfdevsoundsession.h
changeset 13 efebd1779a59
parent 0 40261b775718
child 12 b74061f7f3d2
equal deleted inserted replaced
0:40261b775718 13:efebd1779a59
    45 _LIT(KMMFDevSoundSessionPanicCategory, "MMFDevSoundSession");
    45 _LIT(KMMFDevSoundSessionPanicCategory, "MMFDevSoundSession");
    46 
    46 
    47 enum TMMFDevSoundSessionPanicCodes
    47 enum TMMFDevSoundSessionPanicCodes
    48 	{
    48 	{
    49 	EMsgQueueFailedToSendMsg =1,
    49 	EMsgQueueFailedToSendMsg =1,
    50 	EQueueRequestsFailedToAppend
    50 	EQueueRequestsFailedToAppend,
       
    51 	EUnexpectedAsyncOpCompleteHandlingCI
    51 	};
    52 	};
    52 
    53 
    53 // CLASS DECLARATION
    54 // CLASS DECLARATION
    54 
    55 
    55 /*
    56 /*
  1308 		@since 
  1309 		@since 
  1309 		@param	aCanStartNewOperation	If EFalse indicates that the operation has more than a cycle
  1310 		@param	aCanStartNewOperation	If EFalse indicates that the operation has more than a cycle
  1310 	 */
  1311 	 */
  1311 	void PreemptionFinishedCallbackReceived(TBool aCanStartNewOperation);
  1312 	void PreemptionFinishedCallbackReceived(TBool aCanStartNewOperation);
  1312 
  1313 
       
  1314 	// from MDevSoundAdaptationObserver
       
  1315 	TBool AdaptorControlsContext() const;
       
  1316 
  1313 	/**
  1317 	/**
  1314 		MDevSoundAdaptationObserver callback.
  1318 		MDevSoundAdaptationObserver callback.
  1315 		Indicates that a low layer operation completion
  1319 		Indicates that a low layer operation completion
  1316 		@since 
  1320 		@since 
  1317 		@param	aError	The status of operation in progress
  1321 		@param	aError	The status of operation in progress
  1484 
  1488 
  1485 	// Handling async requests
  1489 	// Handling async requests
  1486 	RArray<TMMFDevSoundRequest> iQueuedRequests;
  1490 	RArray<TMMFDevSoundRequest> iQueuedRequests;
  1487 	TMMFDevSoundRequest			iRequestBeingServiced;
  1491 	TMMFDevSoundRequest			iRequestBeingServiced;
  1488 	TBool						iOperationCompletePending;
  1492 	TBool						iOperationCompletePending;
       
  1493 	TBool                       iHandlingExtdCI;
  1489 	TBool						iPlayErrorOccured;
  1494 	TBool						iPlayErrorOccured;
  1490 	
  1495 	
  1491 	//Check if the call of SetClientConfigL was alredy made
  1496 	//Check if the call of SetClientConfigL was alredy made
  1492 	TBool						iSetClientConfigApplied;
  1497 	TBool						iSetClientConfigApplied;
  1493 	
  1498