From 75d4d5021b742aa12d0fe99a1525de71b67c79d5 Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Fri, 16 Nov 2012 23:20:27 +0100 Subject: [PATCH] lt_debug: add HAL_* constants to allow renaming --- common/lt_debug.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/common/lt_debug.h b/common/lt_debug.h index 42464b9..296152b 100644 --- a/common/lt_debug.h +++ b/common/lt_debug.h @@ -11,6 +11,16 @@ #define TRIPLE_DEBUG_RECORD 7 #define TRIPLE_DEBUG_ALL ((1<<8)-1) +#define HAL_DEBUG_AUDIO 0 +#define HAL_DEBUG_VIDEO 1 +#define HAL_DEBUG_DEMUX 2 +#define HAL_DEBUG_PLAYBACK 3 +#define HAL_DEBUG_PWRMNGR 4 +#define HAL_DEBUG_INIT 5 +#define HAL_DEBUG_CA 6 +#define HAL_DEBUG_RECORD 7 +#define HAL_DEBUG_ALL ((1<<8)-1) + extern int debuglevel; void _lt_debug(int facility, const void *, const char *fmt, ...) __attribute__ ((format (printf, 3, 4)));