mmlibs/mmfw/src/Plugin/Codec/audio/MMFAudioS16ToPcmU8Codec.h
changeset 0 40261b775718
equal deleted inserted replaced
-1:000000000000 0:40261b775718
       
     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 // MMFAudioS16PcmU8Codec.h
       
    15 // 
       
    16 //
       
    17 
       
    18 
       
    19 #ifndef __AUDIOS16_PCMU8_CODEC_H__
       
    20 #define __AUDIOS16_PCMU8_CODEC_H__
       
    21 #include <mmf/server/mmfcodec.h>
       
    22 #include "MMFAudioS16ToU8PcmCodec.h"
       
    23 
       
    24 
       
    25 class CMMFAudioS16PcmU8Codec : public CMMFCodec
       
    26 	{
       
    27 public:
       
    28 	static CMMFCodec* NewL(TAny* aInitParams);
       
    29 	virtual ~CMMFAudioS16PcmU8Codec();
       
    30 	TCodecProcessResult ProcessL(const CMMFBuffer& aSrc, CMMFBuffer& aDst);
       
    31 private:
       
    32 	CMMFAudioS16PcmU8Codec();
       
    33 	void ConstructL(TAny* aInitParams);
       
    34 private:
       
    35 	//owned by the Datapath
       
    36 	const CMMFDataBuffer* iSrc;
       
    37 	CMMFDataBuffer* iDst;
       
    38 
       
    39 	TMMFAudioS16ToU8PcmCodec iAudioS16ToU8Pcm ;
       
    40 
       
    41 	};
       
    42 
       
    43 
       
    44 #endif