mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-27 15:32:52 +02:00
libtriple: improve debug architecture
every libtriple module can have its debug output enabled separately
by exporting the TRIPLE_DEBUG variable
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4435f30b3c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2011-02-06 (Sun, 06 Feb 2011)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -1,4 +1,19 @@
|
||||
#ifndef __LT_DEBUG_H
|
||||
#define __LT_DEBUG_H
|
||||
void lt_debug(const char *fmt, ...);
|
||||
|
||||
#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
|
||||
|
Reference in New Issue
Block a user