diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2010-04-03 17:59:18 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2010-04-03 17:59:18 +0000 |
commit | 535d5e0dba3ec190956fd50c876d8f0d37a44e60 (patch) | |
tree | a90e982674c49f8ccd6a4ba1b54c0ca7ca450896 /usr.bin/aucat/conf.h | |
parent | 1f1e75a96689e478cf3357f495812c131cb352f9 (diff) |
backout last change, committed by mistake, sorry...
Diffstat (limited to 'usr.bin/aucat/conf.h')
-rw-r--r-- | usr.bin/aucat/conf.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/usr.bin/aucat/conf.h b/usr.bin/aucat/conf.h index 66b7b9ee2b4..47bc9ae7e11 100644 --- a/usr.bin/aucat/conf.h +++ b/usr.bin/aucat/conf.h @@ -1,4 +1,4 @@ -/* $OpenBSD: conf.h,v 1.13 2010/04/03 17:40:33 ratchov Exp $ */ +/* $OpenBSD: conf.h,v 1.14 2010/04/03 17:59:17 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -31,6 +31,19 @@ extern int debug_level; #endif /* + * Number of blocks in the device play/record buffers. Because Sun API + * cannot notify apps of the current positions, we have to use all N + * buffers devices blocks plus one extra block, to make write() block, + * so that poll() can return the exact postition. + */ +#define DEV_NBLK 2 + +/* + * Number of blocks in the wav-file i/o buffers. + */ +#define WAV_NBLK 6 + +/* * socket and option names */ #define DEFAULT_MIDITHRU "midithru" |