audiostubs/devsoundextensions_stubs/audiocodeccistubs/ilbcdecoderintfccistub/src/IlbcDecoderIntfcCIStub.cpp
changeset 43 e71858845f73
parent 40 b7e5ed8c1342
child 46 e1758cbb96ac
equal deleted inserted replaced
40:b7e5ed8c1342 43:e71858845f73
     1 /*
       
     2 * Copyright (c) 2002-2004 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: Audio Stubs -
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 // INCLUDE FILES
       
    21 #include "IlbcDecoderIntfcCI.h"
       
    22 #include <e32debug.h>
       
    23 
       
    24 // EXTERNAL DATA STRUCTURES
       
    25 
       
    26 // EXTERNAL FUNCTION PROTOTYPES
       
    27 
       
    28 // CONSTANTS
       
    29 
       
    30 // MACROS
       
    31 
       
    32 // LOCAL CONSTANTS AND MACROS
       
    33 
       
    34 // MODULE DATA STRUCTURES
       
    35 
       
    36 // LOCAL FUNCTION PROTOTYPES
       
    37 
       
    38 // FORWARD DECLARATIONS
       
    39 
       
    40 // ============================= LOCAL FUNCTIONS ===============================
       
    41 
       
    42 // ============================ MEMBER FUNCTIONS ===============================
       
    43 
       
    44 // -----------------------------------------------------------------------------
       
    45 // CIlbcDecoderIntfcCI::CIlbcDecoderIntfcCI
       
    46 // C++ default constructor can NOT contain any code, that
       
    47 // might leave.
       
    48 // -----------------------------------------------------------------------------
       
    49 //
       
    50 CIlbcDecoderIntfcCI::CIlbcDecoderIntfcCI()
       
    51     {
       
    52 
       
    53     }
       
    54 
       
    55 // -----------------------------------------------------------------------------
       
    56 // CIlbcDecoderIntfcCI::ConstructL
       
    57 // Symbian 2nd phase constructor can leave.
       
    58 // -----------------------------------------------------------------------------
       
    59 //
       
    60 void CIlbcDecoderIntfcCI::ConstructL()
       
    61     {
       
    62 
       
    63     }
       
    64 
       
    65 // -----------------------------------------------------------------------------
       
    66 // CIlbcDecoderIntfcCI::NewL
       
    67 // Two-phased constructor.
       
    68 // -----------------------------------------------------------------------------
       
    69 //
       
    70 EXPORT_C CIlbcDecoderIntfcCI* CIlbcDecoderIntfcCI::NewL()
       
    71     {
       
    72 	CIlbcDecoderIntfcCI* self = new (ELeave)CIlbcDecoderIntfcCI;
       
    73 	CleanupStack::PushL(self);
       
    74 	self->ConstructL();
       
    75 	CleanupStack::Pop(self);
       
    76 	return self;
       
    77     }
       
    78 
       
    79 // Destructor
       
    80 EXPORT_C CIlbcDecoderIntfcCI::~CIlbcDecoderIntfcCI()
       
    81     {
       
    82 
       
    83     }
       
    84 
       
    85 // -----------------------------------------------------------------------------
       
    86 // CIlbcDecoderIntfcCI::SetDecoderMode
       
    87 // ?implementation_description
       
    88 // (other items were commented in a header).
       
    89 // -----------------------------------------------------------------------------
       
    90 //
       
    91 EXPORT_C TInt CIlbcDecoderIntfcCI::SetDecoderMode(TDecodeMode aDecodeMode)
       
    92     {
       
    93     TBool myDecodeMode = aDecodeMode;
       
    94     RDebug::Print(_L("CIlbcDecoderIntfcCI::SetDecoderMode decodeMode[%d]"), myDecodeMode);
       
    95     return KErrNone;
       
    96     }
       
    97 
       
    98 // -----------------------------------------------------------------------------
       
    99 // CIlbcDecoderIntfcCI::SetCng
       
   100 // ?implementation_description
       
   101 // (other items were commented in a header).
       
   102 // -----------------------------------------------------------------------------
       
   103 //
       
   104 EXPORT_C TInt CIlbcDecoderIntfcCI::SetCng(TBool aCng)
       
   105     {
       
   106     iCng = aCng;
       
   107     RDebug::Print(_L("CIlbcDecoderIntfcCI::SetCng cng[%d]"), iCng);
       
   108     return KErrNone;
       
   109     }
       
   110 
       
   111 // -----------------------------------------------------------------------------
       
   112 // CIlbcDecoderIntfcCI::GetCng
       
   113 // ?implementation_description
       
   114 // (other items were commented in a header).
       
   115 // -----------------------------------------------------------------------------
       
   116 //
       
   117 EXPORT_C TInt CIlbcDecoderIntfcCI::GetCng(TBool& aCng)
       
   118     {
       
   119     aCng = iCng;
       
   120     RDebug::Print(_L("CIlbcDecoderIntfcCI::GetCng cng[%d]"), aCng);
       
   121     return KErrNone;
       
   122     }