summaryrefslogtreecommitdiff
path: root/usr.bin/sndiod/sysex.h
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2013-12-20 08:47:38 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2013-12-20 08:47:38 +0000
commita840cf3be284597a8481e6409749098db93c6e56 (patch)
tree7e5b19666559277f137ed58a0c75738a65cbbb91 /usr.bin/sndiod/sysex.h
parent1701ff0f9bf0e11e455ae8c89d2ce46ea80776de (diff)
set the target device number of standard system exclusive
messages to 0x7f (aka "any device").
Diffstat (limited to 'usr.bin/sndiod/sysex.h')
-rw-r--r--usr.bin/sndiod/sysex.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/sndiod/sysex.h b/usr.bin/sndiod/sysex.h
index 543faf4e870..06e2c5fd573 100644
--- a/usr.bin/sndiod/sysex.h
+++ b/usr.bin/sndiod/sysex.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sysex.h,v 1.1 2012/11/23 07:03:28 ratchov Exp $ */
+/* $OpenBSD: sysex.h,v 1.2 2013/12/20 08:47:37 ratchov Exp $ */
/*
* Copyright (c) 2011 Alexandre Ratchov <alex@caoua.org>
*
@@ -46,6 +46,11 @@
#define SYSEX_MMC_LOC_CMD 0x01
/*
+ * sepcial "any" midi device number
+ */
+#define SYSEX_DEV_ANY 0x7f
+
+/*
* aucat-specific messages, in the "edu" namespace
*/
#define SYSEX_AUCAT 0x23 /* aucat-specific */