First public contribution.
1 // Copyright (c) 2003-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 // This is a test codec which takes MP3 data & gives it back to the datapath
15 // pretending it has converted it to PCM16 data thus producing lots of noise
19 #ifndef __MMF_MP3_CODEC_H__
20 #define __MMF_MP3_CODEC_H__
22 #include <mmf/server/mmfcodec.h>
23 #include <mmf/server/mmfdatabuffer.h>
25 class CMMFMP3To16PcmCodec : public CMMFCodec
28 static CMMFCodec* NewL(TAny* aInitParams);
29 virtual ~CMMFMP3To16PcmCodec();
30 TCodecProcessResult ProcessL(const CMMFBuffer& aSrc, CMMFBuffer& aDst);
31 virtual void ResetL();
34 CMMFMP3To16PcmCodec();
35 void ConstructL(TAny* aInitParams);