audio/ARM_CMMF_codecs/FrameTable/Inc/DebugMacros.h
author Tapani Kanerva <tapani.kanerva@nice.fi>
Tue, 16 Nov 2010 14:11:25 +0200
branchRCL_3
changeset 67 b35006be8823
parent 0 40261b775718
permissions -rw-r--r--
Bug 3673 - Seeking via grabbing the Music Player progress bar does not work.

/*

* 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__