First public contribution.
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 // MMFAudioU16BEPcmS16Codec.h
19 #ifndef __AUDIOU16BE_PCMS16_CODEC_H__
20 #define __AUDIOU16BE_PCMS16_CODEC_H__
21 #include <mmf/server/mmfcodec.h>
22 #include "MMFAudioPcmU16BeToPcmS16Codec.h"
25 class CMMFAudioU16BEPcmS16Codec : public CMMFCodec
28 static CMMFCodec* NewL(TAny* aInitParams);
29 virtual ~CMMFAudioU16BEPcmS16Codec();
30 TCodecProcessResult ProcessL(const CMMFBuffer& aSrc, CMMFBuffer& aDst);
32 CMMFAudioU16BEPcmS16Codec();
33 void ConstructL(TAny* aInitParams);
35 //owned by the Datapath
36 const CMMFDataBuffer* iSrc;
39 TMMFAudioPcmU16BeToPcmS16Codec iAudioU16BEToS16Pcm ;