summaryrefslogtreecommitdiff
path: root/usr.bin/sndiod/dev.h
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2013-09-28 18:49:33 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2013-09-28 18:49:33 +0000
commit5db3fefa533b53cb804221b6cb737e3a69a13b74 (patch)
tree34c823adb7887f4d0f2a638a8ca8252f545cf0f6 /usr.bin/sndiod/dev.h
parente8439bf8be026ba8d6cbba626e7e39df782a1a80 (diff)
Fix condition to check if a midi port is referenced. Remove unused bits.
Diffstat (limited to 'usr.bin/sndiod/dev.h')
-rw-r--r--usr.bin/sndiod/dev.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sndiod/dev.h b/usr.bin/sndiod/dev.h
index 3fc4df0e257..0f3bfbfef36 100644
--- a/usr.bin/sndiod/dev.h
+++ b/usr.bin/sndiod/dev.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dev.h,v 1.2 2012/11/30 20:38:24 ratchov Exp $ */
+/* $OpenBSD: dev.h,v 1.3 2013/09/28 18:49:32 ratchov Exp $ */
/*
* Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org>
*
@@ -109,7 +109,7 @@ struct dev {
/*
* audio device (while opened)
*/
- struct siofile_ sio;
+ struct dev_sio sio;
struct aparams par; /* encoding */
int pchan, rchan; /* play & rec channels */
adata_t *rbuf; /* rec buffer */