os/mm/mmlibs/mmfw/src/Plugin/Codec/audio/MMFPcm8ToPcm16Codec.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7 //
     8 // Initial Contributors:
     9 // Nokia Corporation - initial contribution.
    10 //
    11 // Contributors:
    12 //
    13 // Description:
    14 // MMFPcm8Pcm16Codec.h
    15 // 
    16 //
    17 
    18 
    19 #ifndef __PCM8_PCM16_CODEC_H__
    20 #define __PCM8_PCM16_CODEC_H__
    21 #include <mmf/server/mmfcodec.h>
    22 #include "MMFAudioPcm8ToPcm16Codec.h"
    23 
    24 class CMMFPcm8Pcm16Codec : public CMMFCodec
    25 	{
    26 public:
    27 	static CMMFCodec* NewL(TAny* aInitParams);
    28 	virtual ~CMMFPcm8Pcm16Codec();
    29 	TCodecProcessResult ProcessL(const CMMFBuffer& aSrc, CMMFBuffer& aDst);
    30 private:
    31 	CMMFPcm8Pcm16Codec();
    32 	void ConstructL(TAny* aInitParams);
    33 private:
    34 	//owned by the Datapath
    35 	const CMMFDataBuffer* iSrc;
    36 	CMMFDataBuffer* iDst;
    37 
    38 	TMMFAudioPcm8ToPcm16Codec iAudioS8ToS16Pcm ;
    39 	};
    40 
    41 
    42 #endif