diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2009-09-27 11:51:21 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2009-09-27 11:51:21 +0000 |
commit | 5458f35c1680c7e3020254b2f8040a16580d7c56 (patch) | |
tree | 899a8e1069cab0b04b0abccb57feb5a706ea73eb /usr.bin/aucat/conf.h | |
parent | 26f5f9c05ad85998a517e34bab3faedf58da33bf (diff) |
remove all debug traces
Diffstat (limited to 'usr.bin/aucat/conf.h')
-rw-r--r-- | usr.bin/aucat/conf.h | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/usr.bin/aucat/conf.h b/usr.bin/aucat/conf.h index dc16d9dbad2..5a138919166 100644 --- a/usr.bin/aucat/conf.h +++ b/usr.bin/aucat/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.9 2009/08/17 16:17:46 ratchov Exp $ */ +/* $OpenBSD: conf.h,v 1.10 2009/09/27 11:51:20 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -17,30 +17,6 @@ #ifndef CONF_H #define CONF_H -/* - * Debug trace levels: - * - * 0 - traces are off - * 1 - init, free, stuff that's done only once - * 2 - rare real-time events: eof / hup, etc... - * 3 - poll(), block / unblock state changes - * 4 - read()/write() - */ -#ifdef DEBUG - -/* defined in main.c */ -extern int debug_level; - -#define DPRINTF(...) DPRINTFN(1, __VA_ARGS__) -#define DPRINTFN(n, ...) \ - do { \ - if (debug_level >= (n)) \ - fprintf(stderr, __VA_ARGS__); \ - } while(0) -#else -#define DPRINTF(...) do {} while(0) -#define DPRINTFN(n, ...) do {} while(0) -#endif /* * Number of blocks in the device play/record buffers. Because Sun API @@ -65,6 +41,6 @@ extern int debug_level; /* * MIDI buffer size */ -#define MIDI_BUFSZ 3125 /* 1 second */ +#define MIDI_BUFSZ 3125 /* 1 second at 31.25kbit/s */ #endif /* !defined(CONF_H) */ |