summaryrefslogtreecommitdiffstats
path: root/core.h
diff options
context:
space:
mode:
authorJames O'Shannessy <james.oshannessy@fiberdyne.com.au>2018-09-21 16:14:14 +1000
committerMark Farrugia <mark.farrugia@fiberdyne.com.au>2018-10-26 17:27:29 +1100
commitbc249f293cab17c0dcde886fccc26deb0dfca33c (patch)
tree153e023cf4e7777bdb4b15af7890f631cc07e9f7 /core.h
parentb46cfdf55851280f0c90c7b54ba041932ddfa397 (diff)
Current state of loopback.
Committing debug changes and loopback changes Signed-off-by: James O'Shannessy <james.oshannessy@fiberdyne.com.au>
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 1cf7c95..6e3b651 100644
--- a/core.h
+++ b/core.h
@@ -12,6 +12,17 @@
#include <sound/pcm.h>
+#define DINFO(ap, fmt, args...) \
+ printk(KERN_INFO "[%s] %d:%s " fmt "\n", ap, __LINE__, __func__, ##args)
+
+#define DERROR(ap, fmt, args...) \
+ printk(KERN_ERR "[%s] %d:%s " fmt "\n", AP_LOGNAME, __LINE__, \
+ __func__, ##args)
+
+#define DPRINT(ap, fmt, args...) \
+ printk(KERN_DEBUG "[%s] %d:%s " fmt "\n", AP_LOGNAME, __LINE__, \
+ __func__, ##args)
+
/**
* PCM buffer complete callback
*