audiostubs/devsoundextensions_stubs/audiocodeccistubs/ilbcdecoderintfccistub/src/IlbcDecoderIntfcCIStub.cpp
changeset 40 b7e5ed8c1342
parent 0 0ce1b5ce9557
child 9 f935d51494d1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/audiostubs/devsoundextensions_stubs/audiocodeccistubs/ilbcdecoderintfccistub/src/IlbcDecoderIntfcCIStub.cpp	Tue Sep 07 08:19:48 2010 +0300
@@ -0,0 +1,122 @@
+/*
+* Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "Eclipse Public License v1.0"
+* which accompanies this distribution, and is available
+* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+*
+* Initial Contributors:
+* Nokia Corporation - initial contribution.
+*
+* Contributors:
+*
+* Description: Audio Stubs -
+*
+*/
+
+
+
+// INCLUDE FILES
+#include "IlbcDecoderIntfcCI.h"
+#include <e32debug.h>
+
+// EXTERNAL DATA STRUCTURES
+
+// EXTERNAL FUNCTION PROTOTYPES
+
+// CONSTANTS
+
+// MACROS
+
+// LOCAL CONSTANTS AND MACROS
+
+// MODULE DATA STRUCTURES
+
+// LOCAL FUNCTION PROTOTYPES
+
+// FORWARD DECLARATIONS
+
+// ============================= LOCAL FUNCTIONS ===============================
+
+// ============================ MEMBER FUNCTIONS ===============================
+
+// -----------------------------------------------------------------------------
+// CIlbcDecoderIntfcCI::CIlbcDecoderIntfcCI
+// C++ default constructor can NOT contain any code, that
+// might leave.
+// -----------------------------------------------------------------------------
+//
+CIlbcDecoderIntfcCI::CIlbcDecoderIntfcCI()
+    {
+
+    }
+
+// -----------------------------------------------------------------------------
+// CIlbcDecoderIntfcCI::ConstructL
+// Symbian 2nd phase constructor can leave.
+// -----------------------------------------------------------------------------
+//
+void CIlbcDecoderIntfcCI::ConstructL()
+    {
+
+    }
+
+// -----------------------------------------------------------------------------
+// CIlbcDecoderIntfcCI::NewL
+// Two-phased constructor.
+// -----------------------------------------------------------------------------
+//
+EXPORT_C CIlbcDecoderIntfcCI* CIlbcDecoderIntfcCI::NewL()
+    {
+	CIlbcDecoderIntfcCI* self = new (ELeave)CIlbcDecoderIntfcCI;
+	CleanupStack::PushL(self);
+	self->ConstructL();
+	CleanupStack::Pop(self);
+	return self;
+    }
+
+// Destructor
+EXPORT_C CIlbcDecoderIntfcCI::~CIlbcDecoderIntfcCI()
+    {
+
+    }
+
+// -----------------------------------------------------------------------------
+// CIlbcDecoderIntfcCI::SetDecoderMode
+// ?implementation_description
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+EXPORT_C TInt CIlbcDecoderIntfcCI::SetDecoderMode(TDecodeMode aDecodeMode)
+    {
+    TBool myDecodeMode = aDecodeMode;
+    RDebug::Print(_L("CIlbcDecoderIntfcCI::SetDecoderMode decodeMode[%d]"), myDecodeMode);
+    return KErrNone;
+    }
+
+// -----------------------------------------------------------------------------
+// CIlbcDecoderIntfcCI::SetCng
+// ?implementation_description
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+EXPORT_C TInt CIlbcDecoderIntfcCI::SetCng(TBool aCng)
+    {
+    iCng = aCng;
+    RDebug::Print(_L("CIlbcDecoderIntfcCI::SetCng cng[%d]"), iCng);
+    return KErrNone;
+    }
+
+// -----------------------------------------------------------------------------
+// CIlbcDecoderIntfcCI::GetCng
+// ?implementation_description
+// (other items were commented in a header).
+// -----------------------------------------------------------------------------
+//
+EXPORT_C TInt CIlbcDecoderIntfcCI::GetCng(TBool& aCng)
+    {
+    aCng = iCng;
+    RDebug::Print(_L("CIlbcDecoderIntfcCI::GetCng cng[%d]"), aCng);
+    return KErrNone;
+    }