--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/ARM_CMMF_codecs/FrameTable/Inc/DebugMacros.h Tue Feb 02 01:56:55 2010 +0200
@@ -0,0 +1,80 @@
+/*
+
+* Copyright (c) 2007 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: Debug Macros used by AdvancedAudioController
+
+*
+
+*/
+
+
+
+#ifndef __DEBUGMACROS_H__
+
+#define __DEBUGMACROS_H__
+
+
+
+// MACROS
+
+#ifdef _DEBUG
+
+#define DP0(string) RDebug::Print(string)
+
+#define DP1(string,arg1) RDebug::Print(string,arg1)
+
+#define DP2(string,arg1,arg2) RDebug::Print(string,arg1,arg2)
+
+#define DP3(string,arg1,arg2,arg3) RDebug::Print(string,arg1,arg2,arg3)
+
+#define DP4(string,arg1,arg2,arg3,arg4) RDebug::Print(string,arg1,arg2,arg3,arg4)
+
+#define DP5(string,arg1,arg2,arg3,arg4,arg5) RDebug::Print(string,arg1,arg2,arg3,arg4,arg5)
+
+#define DP6(string,arg1,arg2,arg3,arg4,arg5,arg6) RDebug::Print(string,arg1,arg2,arg3,arg4,arg5,arg6)
+
+#else
+
+#define DP0(string)
+
+#define DP1(string,arg1)
+
+#define DP2(string,arg1,arg2)
+
+#define DP3(string,arg1,arg2,arg3)
+
+#define DP4(string,arg1,arg2,arg3,arg4)
+
+#define DP5(string,arg1,arg2,arg3,arg4,arg5)
+
+#define DP6(string,arg1,arg2,arg3,arg4,arg5,arg6)
+
+#endif
+
+
+
+#endif //__DEBUGMACROS_H__
+