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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // MMFPcm16MuLawCodec.h
19 #ifndef __PCM16_MULAW_CODEC_H__
20 #define __PCM16_MULAW_CODEC_H__
21 #include <mmf/server/mmfcodec.h>
22 #include "MMFAudioSPcm16ToMuLawCodec.h"
24 class CMMFPcm16MulawCodec : public CMMFCodec
27 static CMMFCodec* NewL(TAny* aInitParams);
28 virtual ~CMMFPcm16MulawCodec();
29 TCodecProcessResult ProcessL(const CMMFBuffer& aSrc, CMMFBuffer& aDst);
31 CMMFPcm16MulawCodec();
32 void ConstructL(TAny* aInitParams);
34 //owned by the Datapath
35 const CMMFDataBuffer* iSrc;
38 TMMFAudioSPcm16ToMuLawCodec i16PcmToMulaw ;