libeplayer3: add hal_debug

Origin commit data
------------------
Branch: master
Commit: 43c00c43fa
Author: max_10 <max_10@gmx.de>
Date: 2024-03-24 (Sun, 24 Mar 2024)

Origin message was:
------------------
- libeplayer3: add hal_debug

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
max_10
2024-03-24 22:23:52 +01:00
committed by vanhofen
parent ff8a6fa984
commit a254f89bcb
11 changed files with 294 additions and 126 deletions

View File

@@ -9,12 +9,19 @@
#define HAL_DEBUG_INIT 5
#define HAL_DEBUG_CA 6
#define HAL_DEBUG_RECORD 7
#define HAL_DEBUG_ALL ((1<<8)-1)
#define HAL_DEBUG_PLAYER 8
#define HAL_DEBUG_ALL ((1<<9)-1)
extern int debuglevel;
#ifdef __cplusplus
extern "C" {
#endif
void _hal_debug(int facility, const void *, const char *fmt, ...) __attribute__((format(printf, 3, 4)));
void _hal_info(int facility, const void *, const char *fmt, ...) __attribute__((format(printf, 3, 4)));
#ifdef __cplusplus
}
#endif
void hal_debug_init(void);
void hal_set_threadname(const char *name);