summaryrefslogtreecommitdiff
path: root/usr.bin/aucat/sock.h
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-08-21 16:48:04 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-08-21 16:48:04 +0000
commit73e8ba63c46a04a9b2affdc0a36cc570630deec5 (patch)
treef75825b43f5a93dba1ca426db68ebbe73a75cadd /usr.bin/aucat/sock.h
parent09413d5babedee41e813f85e2e1e4726712d00ed (diff)
make aucat(1) expose a MIDI device to control server behaviour in
realtime. For now only the playback volume of individual streams can be changed/monitored. To each stream is assigned a MIDI channel; the volume is changed/monitored using the standard controller number 7.
Diffstat (limited to 'usr.bin/aucat/sock.h')
-rw-r--r--usr.bin/aucat/sock.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/aucat/sock.h b/usr.bin/aucat/sock.h
index d0eaeda1986..517264f3aee 100644
--- a/usr.bin/aucat/sock.h
+++ b/usr.bin/aucat/sock.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sock.h,v 1.8 2009/07/25 10:52:19 ratchov Exp $ */
+/* $OpenBSD: sock.h,v 1.9 2009/08/21 16:48:03 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -55,6 +55,7 @@ struct sock {
unsigned round; /* block size */
unsigned xrun; /* one of AMSG_IGNORE, ... */
int vol; /* requested volume */
+ int slot; /* mixer ctl slot number */
struct opt *opt; /* "subdevice" definition */
};