os/mm/devsound/a3fdevsound/src/mmfdevsoundserver/mmfdevsoundserverstart.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     1 /*
     2 * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     4 * This component and the accompanying materials are made available
     5 * under the terms of "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:
    15 *
    16 */
    17 
    18 
    19 
    20 
    21 
    22 #ifndef __MMFDEVSOUNDSERVERSTART_H
    23 #define __MMFDEVSOUNDSERVERSTART_H
    24 
    25 #include <e32std.h>
    26 #include "mmfaudioserver.h"
    27 
    28 
    29 _LIT(KDevSoundServerName,"!MMFDevSndSvr");
    30 const TInt KDevSoundServerStackSize=0x2000;			//  8KB
    31 const TInt KDevSoundServerInitHeapSize=0x1000;		//  4KB
    32 const TInt KDevSoundServerMaxHeapSize=0x1000000;		// 16MB
    33 
    34 const TUint KMMFDevSoundServerVersion=8;
    35 const TUint KMMFDevSoundServerMinorVersionNumber=0;
    36 const TUint KMMFDevSoundServerBuildVersionNumber=1;
    37 
    38 
    39 /**
    40 	A utility class used by Audio Server to pass data to DevSound server thread.
    41 	
    42 	@lib MmfDevSoundServer.lib
    43 	@since 
    44 */
    45 class TDevSoundServerStart
    46 	{
    47 public:
    48 	TDevSoundServerStart(CMMFAudioServer* aAudioServer, const TProcessId& aProcessId, RServer2& aDevSoundServerHandle);
    49 		
    50 public:
    51 	TProcessId iProcessId;
    52 	CMMFAudioServer* iAudioServer;
    53 	RServer2& iDevSoundServerHandle;
    54 	};
    55 
    56 #include "mmfdevsoundserverstart.inl"
    57 
    58 #endif