sl@0: /* sl@0: * Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: */ sl@0: sl@0: sl@0: sl@0: sl@0: sl@0: #ifndef __MMFDEVSOUNDSERVERSTART_H sl@0: #define __MMFDEVSOUNDSERVERSTART_H sl@0: sl@0: #include sl@0: #include "mmfaudioserver.h" sl@0: sl@0: sl@0: _LIT(KDevSoundServerName,"!MMFDevSndSvr"); sl@0: const TInt KDevSoundServerStackSize=0x2000; // 8KB sl@0: const TInt KDevSoundServerInitHeapSize=0x1000; // 4KB sl@0: const TInt KDevSoundServerMaxHeapSize=0x1000000; // 16MB sl@0: sl@0: const TUint KMMFDevSoundServerVersion=8; sl@0: const TUint KMMFDevSoundServerMinorVersionNumber=0; sl@0: const TUint KMMFDevSoundServerBuildVersionNumber=1; sl@0: sl@0: sl@0: /** sl@0: A utility class used by Audio Server to pass data to DevSound server thread. sl@0: sl@0: @lib MmfDevSoundServer.lib sl@0: @since sl@0: */ sl@0: class TDevSoundServerStart sl@0: { sl@0: public: sl@0: TDevSoundServerStart(CMMFAudioServer* aAudioServer, const TProcessId& aProcessId, RServer2& aDevSoundServerHandle); sl@0: sl@0: public: sl@0: TProcessId iProcessId; sl@0: CMMFAudioServer* iAudioServer; sl@0: RServer2& iDevSoundServerHandle; sl@0: }; sl@0: sl@0: #include "mmfdevsoundserverstart.inl" sl@0: sl@0: #endif