Files
recycled-ni-libstb-hal/libtriple/lt_debug.h
Stefan Seyfried 7625706bd4 libtriple: improve debug architecture
every libtriple module can have its debug output enabled separately
by exporting the TRIPLE_DEBUG variable


Origin commit data
------------------
Branch: master
Commit: 45e7d0d9fa
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-02-06 (Sun, 06 Feb 2011)



------------------
This commit was generated by Migit
2011-11-06 16:13:06 +01:00

20 lines
475 B
C

#ifndef __LT_DEBUG_H
#define __LT_DEBUG_H
#define TRIPLE_DEBUG_AUDIO 0
#define TRIPLE_DEBUG_VIDEO 1
#define TRIPLE_DEBUG_DEMUX 2
#define TRIPLE_DEBUG_RECORD 3
#define TRIPLE_DEBUG_PLAYBACK 4
#define TRIPLE_DEBUG_PWRMNGR 5
#define TRIPLE_DEBUG_INIT 6
#define TRIPLE_DEBUG_CA 7
#define TRIPLE_DEBUG_ALL ((1<<8)-1)
extern int debuglevel;
void _lt_debug(int facility, const char *fmt, ...);
void _lt_info(int facility, const char *fmt, ...);
void lt_debug_init(void);
#endif