Update contrib.
2 * Copyright (c) 2002-2003 Nokia Corporation and/or its subsidiary(-ies).
4 * This component and the accompanying materials are made available
5 * under the terms of "Eclipse Public License v1.0"
6 * which accompanies this distribution, and is available
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
18 #ifndef __MMF_TMMFAUDIO_ALAW_TO_S16PCM_CODEC_H__
19 #define __MMF_TMMFAUDIO_ALAW_TO_S16PCM_CODEC_H__
21 #include "MMFAudioCodecBase.h"
25 * class TMMFAudioU8ToS16PcmCodec
28 const TInt KMdaAlawTo16PcmExpLutSize = 8;
30 class TMMFAudioALawToS16PcmCodec : public TMMFAudioCodecBase
33 IMPORT_C virtual void Convert(TUint8* aSrc, TUint8* aDst, TInt aSamples);
35 TInt AlawSampleToPcm(TUint8 aAlaw);
37 const static TInt KExpLut[KMdaAlawTo16PcmExpLutSize];
40 #endif //__MMF_TMMFAUDIO_ALAW_TO_S16PCM_CODEC_H__