summaryrefslogtreecommitdiff
path: root/usr.bin/aucat/siofile.h
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2010-05-02 11:54:28 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2010-05-02 11:54:28 +0000
commit4b106b8af0d7d4217dd1937dd7396d46b5d73a08 (patch)
tree2d2c8d1faabfdb0c3e5b09c6572ea7165aa34e04 /usr.bin/aucat/siofile.h
parent2cbb14893098445118dbd76eb3a6da56a4848f23 (diff)
Clean up device handling code to clarify different initialization phases
and different device states. Split initialization in two phases: first global variables are initialized then the audio hardware is opened. Allow devices that don't support full-duplex to work in play-only or record-only mode, even if ``-m play'' or ``-m rec'' are not specified.
Diffstat (limited to 'usr.bin/aucat/siofile.h')
-rw-r--r--usr.bin/aucat/siofile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/aucat/siofile.h b/usr.bin/aucat/siofile.h
index 7f72255a347..c2242887b2e 100644
--- a/usr.bin/aucat/siofile.h
+++ b/usr.bin/aucat/siofile.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: siofile.h,v 1.4 2010/04/06 20:07:01 ratchov Exp $ */
+/* $OpenBSD: siofile.h,v 1.5 2010/05/02 11:54:26 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -22,7 +22,7 @@ struct siofile;
struct aparams;
struct aproc;
-struct siofile *siofile_new(struct fileops *, char *, unsigned,
+struct siofile *siofile_new(struct fileops *, char *, unsigned *,
struct aparams *, struct aparams *, unsigned *, unsigned *);
struct aproc *rsio_new(struct file *f);
struct aproc *wsio_new(struct file *f);