diff options
author | James O'Shannessy <james.oshannessy@fiberdyne.com.au> | 2018-09-21 16:14:14 +1000 |
---|---|---|
committer | Mark Farrugia <mark.farrugia@fiberdyne.com.au> | 2018-10-26 17:27:29 +1100 |
commit | bc249f293cab17c0dcde886fccc26deb0dfca33c (patch) | |
tree | 153e023cf4e7777bdb4b15af7890f631cc07e9f7 /core.h | |
parent | b46cfdf55851280f0c90c7b54ba041932ddfa397 (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.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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 * |