summaryrefslogtreecommitdiffstats
path: root/core.h
diff options
context:
space:
mode:
Diffstat (limited to 'core.h')
-rw-r--r--core.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/core.h b/core.h
index d9b1382..ec44081 100644
--- a/core.h
+++ b/core.h
@@ -16,6 +16,17 @@
#define MAX_STREAMS 16
#define MAX_NAME_LEN 80
+#define DINFO(logname, fmt, args...) \
+ printk(KERN_INFO "[AVIRT][%s]: " fmt "\n", logname, ##args)
+
+#define DERROR(logname, fmt, args...) \
+ printk(KERN_ERR "[AVIRT][%s]: %d:%s " fmt "\n", logname, __LINE__, \
+ __func__, ##args)
+
+#define DDEBUG(logname, fmt, args...) \
+ printk(KERN_DEBUG "[AVIRT][%s]: %d:%s " fmt "\n", logname, __LINE__, \
+ __func__, ##args)
+
/**
* AVIRT Audio Path configure function type
* Each Audio Path registers this at avirt_audiopath_register time.