omxilcomp/omxilaudioemulator/pcmrenderer/src/omxilpcmrenderer.h
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 02 Sep 2010 20:13:57 +0300
changeset 0 58be5850fb6c
child 1 e0d606d6e3b1
permissions -rw-r--r--
Revision: 2010wk32 Kit: 201035

/*
* Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/


/**
 @file
 @internalComponent
*/

#ifndef OMXILPCMRENDERER_H
#define OMXILPCMRENDERER_H

#include <openmax/il/common/omxilcomponent.h>

// Forward declarations
class COmxILPcmRendererAPB0Port;
class COmxILClientClockPort;

NONSHARABLE_CLASS(COmxILPcmRenderer) : public COmxILComponent
	{

public:

	static const TUint8 iComponentVersionMajor	  = 1;
	static const TUint8 iComponentVersionMinor	  = 0;
	static const TUint8 iComponentVersionRevision = 0;
	static const TUint8 iComponentVersionStep	  = 0;

public:

	static  TInt CreateComponent(OMX_HANDLETYPE aComponent);

	~COmxILPcmRenderer();

private:

	COmxILPcmRenderer();

	void ConstructL(OMX_HANDLETYPE aComponent);

	COmxILPcmRendererAPB0Port* ConstructAPB0PortL() const;
	COmxILClientClockPort* ConstructClientClockPortL() const;

private:

	const OMX_VERSIONTYPE iOmxILVersion;
	};

#endif // OMXILPCMRENDERER_H