devsound/a3fdevsound/src/devsoundadaptor/mmfdevsoundadaptation.h
changeset 29 eb1e5d7cc688
parent 15 c1e808730d6c
equal deleted inserted replaced
26:c36d67f77f75 29:eb1e5d7cc688
   250 	 */
   250 	 */
   251 	virtual void NotifyError(TInt aError) = 0;
   251 	virtual void NotifyError(TInt aError) = 0;
   252 
   252 
   253 	};
   253 	};
   254 
   254 
   255 
       
   256 /**
       
   257 @publishedAll
       
   258 @released
       
   259 *  A class representing client application information.
       
   260 *
       
   261 *  @lib MmfDevSoundAdaptation.lib
       
   262 *  @since
       
   263 */
       
   264 class TMMFClientConfig
       
   265 	{
       
   266 	public:
       
   267 		TProcessId                  iProcessId; //<<< Application Process Id
       
   268 	};
       
   269 
       
   270 // CLASS DECLARATION
   255 // CLASS DECLARATION
   271 
   256 
   272 /**
   257 /**
   273 @publishedAll
   258 @publishedAll
   274 @released
   259 @released
   825 				  const TMMFPrioritySettings& aPrioritySettings) const;
   810 				  const TMMFPrioritySettings& aPrioritySettings) const;
   826 
   811 
   827 	/**
   812 	/**
   828 	* Sets client configuration
   813 	* Sets client configuration
   829 	* @since
   814 	* @since
   830 	* @param TMMFClientConfig& aClientConfig A reference to client
   815     * @param aActualProcessId the effective devsound client (supplied with SetClientThreadInfo)
   831 	*        configuration object.
   816     * @param aProcessId the client of DevSound
   832 	* @return KErrNone if successful, system wide error otherwise
   817 	* @return KErrNone if successful, system wide error otherwise
   833 	*/
   818 	*/
   834 	IMPORT_C TInt SetClientConfig(const TMMFClientConfig& aClientConfig);
   819     IMPORT_C TInt SetClientConfig(const TProcessId& aProcessId);
   835 
   820     IMPORT_C TInt SetClientConfig(const TProcessId& aActualProcessId, const TProcessId& aProcessId);
   836 	/**
       
   837 	* Returns client configuration
       
   838 	* @since
       
   839 	* @return void
       
   840 	*/
       
   841 	IMPORT_C const TMMFClientConfig& ClientConfig() const;
       
   842 
   821 
   843 	/**
   822 	/**
   844 	* Empties the buffers below DevSound without deleting the codec.
   823 	* Empties the buffers below DevSound without deleting the codec.
   845 	* @since
   824 	* @since
   846 	* @return KErrNone if successful, otherwise system-wide error code.
   825 	* @return KErrNone if successful, otherwise system-wide error code.