A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd
at master 84 lines 1.5 kB view raw
1/* 2 * xrick/debug.h 3 * 4 * Copyright (C) 1998-2002 BigOrno (bigorno@bigorno.net). 5 * Copyright (C) 2008-2014 Pierluigi Vicinanza. 6 * All rights reserved. 7 * 8 * The use and distribution terms for this software are contained in the file 9 * named README, which can be found in the root of this distribution. By 10 * using this software in any fashion, you are agreeing to be bound by the 11 * terms of this license. 12 * 13 * You must not remove this notice, or any other, from this software. 14 */ 15 16#ifndef _DEBUG_H 17#define _DEBUG_H 18 19#include "xrick/config.h" 20 21/* define IFDEBUG macros */ 22#ifdef DEBUG_MEMORY 23#define IFDEBUG_MEMORY(X); X 24#else 25#define IFDEBUG_MEMORY(X); 26#endif 27 28#ifdef DEBUG_ENTS 29#define IFDEBUG_ENTS(X); X 30#else 31#define IFDEBUG_ENTS(X); 32#endif 33 34#ifdef DEBUG_SCROLLER 35#define IFDEBUG_SCROLLER(X); X 36#else 37#define IFDEBUG_SCROLLER(X); 38#endif 39 40#ifdef DEBUG_MAPS 41#define IFDEBUG_MAPS(X); X 42#else 43#define IFDEBUG_MAPS(X); 44#endif 45 46#ifdef DEBUG_JOYSTICK 47#define IFDEBUG_JOYSTICK(X); X 48#else 49#define IFDEBUG_JOYSTICK(X); 50#endif 51 52#ifdef DEBUG_EVENTS 53#define IFDEBUG_EVENTS(X); X 54#else 55#define IFDEBUG_EVENTS(X); 56#endif 57 58#ifdef DEBUG_AUDIO 59#define IFDEBUG_AUDIO(X); X 60#else 61#define IFDEBUG_AUDIO(X); 62#endif 63 64#ifdef DEBUG_AUDIO2 65#define IFDEBUG_AUDIO2(X); X 66#else 67#define IFDEBUG_AUDIO2(X); 68#endif 69 70#ifdef DEBUG_VIDEO 71#define IFDEBUG_VIDEO(X); X 72#else 73#define IFDEBUG_VIDEO(X); 74#endif 75 76#ifdef DEBUG_VIDEO2 77#define IFDEBUG_VIDEO2(X); X 78#else 79#define IFDEBUG_VIDEO2(X); 80#endif 81 82#endif /* ndef _DEBUG_H */ 83 84/* eof */