baseport/syborg/soundsc/variant_sound.h
changeset 45 01c1ffcc4fca
parent 13 73107a0bc259
equal deleted inserted replaced
44:72a7468afdd4 45:01c1ffcc4fca
     1 /*
     1 /*
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
     2 * This component and the accompanying materials are made available
     5 * under the terms of the License "Eclipse Public License v1.0"
     3 * under the terms of the License "Eclipse Public License v1.0"
     6 * which accompanies this distribution, and is available
     4 * which accompanies this distribution, and is available
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     5 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8 *
     6 *
     9 * Initial Contributors:
     7 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
     8 * Nokia Corporation - initial contribution.
    11 *
     9 *
    12 * Contributors:
    10 * Contributors:
       
    11 * Accenture Ltd
    13 *
    12 *
    14 * Description:
    13 * Description: This file is a part of sound driver for Syborg adaptation.
    15 *
    14 *
    16 */
    15 */
    17 
    16 
    18 #ifndef __SYBORGVARIANT_SOUND_H__
    17 #ifndef __SYBORGVARIANT_SOUND_H__
    19 #define __SYBORGVARIANT_SOUND_H__
    18 #define __SYBORGVARIANT_SOUND_H__
    20 
    19 
    21 #include "shared_sound.h"
    20 #include "shared_sound.h"
    22 
    21 
       
    22 static const TUint KAudioDfcQueuePriority = 28;
       
    23 
    23 class DDriverSyborgSoundScPddFactory : public DPhysicalDevice
    24 class DDriverSyborgSoundScPddFactory : public DPhysicalDevice
    24 	{
    25 	{
    25 public:
    26 public:
    26 
    27 
    27 	DDriverSyborgSoundScPddFactory();
    28 	DDriverSyborgSoundScPddFactory();
       
    29 	~DDriverSyborgSoundScPddFactory();
    28 	TInt Install();
    30 	TInt Install();
    29 	void GetCaps(TDes8 &aDes) const;
    31 	void GetCaps(TDes8 &aDes) const;
    30 	TInt Create(DBase*& aChannel, TInt aUnit, const TDesC8* anInfo, const TVersion &aVer);
    32 	TInt Create(DBase*& aChannel, TInt aUnit, const TDesC8* anInfo, const TVersion &aVer);
    31 	TInt Validate(TInt aUnit, const TDesC8* anInfo, const TVersion &aVer);
    33 	TInt Validate(TInt aUnit, const TDesC8* anInfo, const TVersion &aVer);
       
    34 	
       
    35 	VirtIo::MIoHandler* IoHandler();
    32 
    36 
    33 public:
    37 public:
    34 
    38 
    35 	/** The DFC queue to be used by both the LDD and the PDD to serialise access to the PDD */
    39 	/** The DFC queue to be used by both the LDD and the PDD to serialise access to the PDD */
    36 	TDfcQue*		iDfcQ;
    40 	TDynamicDfcQue*		iDfcQ;
    37 
    41 	
       
    42 	VirtIo::DIoHandler *iIoHandler;
       
    43 	
    38 	};
    44 	};
    39 
    45 
    40 #endif 
    46 #endif