os/mm/mmlibs/mmfw/Codecs/Inc/MMFCodecCommon/MMFImaAudioCodecState.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2 * Copyright (c) 2002-2003 Nokia Corporation and/or its subsidiary(-ies).
     3 * All rights reserved.
     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".
     8 *
     9 * Initial Contributors:
    10 * Nokia Corporation - initial contribution.
    11 *
    12 * Contributors:
    13 *
    14 * Description:
    15 *
    16 */
    17 
    18 #ifndef __MMF_TMMFIMA_ADPCM_CODEC_STATE_H__
    19 #define __MMF_TMMFIMA_ADPCM_CODEC_STATE_H__
    20 #include <e32std.h>
    21 
    22 /*
    23 * 
    24 * class TMMFImaAdpcmCodecState
    25 *
    26 */
    27 class TMMFImaAdpcmCodecState
    28 	{
    29 public:
    30 	inline TMMFImaAdpcmCodecState();
    31 	inline TMMFImaAdpcmCodecState(TInt16 aPredicted, TUint8 aIndex);
    32 public:
    33 	TInt16 iPredicted; // Previous output value
    34 	TUint8 iIndex; // Index into stepsize table
    35 	};
    36 
    37 inline TMMFImaAdpcmCodecState::TMMFImaAdpcmCodecState()
    38 	: iPredicted(0), iIndex(0) 
    39 	{
    40 	}
    41 inline TMMFImaAdpcmCodecState::TMMFImaAdpcmCodecState(TInt16 aPredicted, TUint8 aIndex)
    42 : iPredicted(aPredicted), iIndex(aIndex) 
    43 	{
    44 	}
    45 
    46 #endif //__MMF_TMMFIMA_ADPCM_CODEC_STATE_H__