summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/midi/midi.h
diff options
context:
space:
mode:
authortanimura <tanimura@FreeBSD.org>2000-09-18 10:17:38 +0000
committertanimura <tanimura@FreeBSD.org>2000-09-18 10:17:38 +0000
commite368cca5cf2cf743b617c8f27433276757ed639e (patch)
treea75ace7fe3321edf71d15d68a37759eb0c79fdac /sys/dev/sound/midi/midi.h
parent56aecf1ece0ec7d4fe1920c764fc67f36f30e0e4 (diff)
downloadFreeBSD-src-e368cca5cf2cf743b617c8f27433276757ed639e.zip
FreeBSD-src-e368cca5cf2cf743b617c8f27433276757ed639e.tar.gz
Since the unit number of a midi/sequencer device is expressed in 4
bits, we can configure only up to 16 units.
Diffstat (limited to 'sys/dev/sound/midi/midi.h')
-rw-r--r--sys/dev/sound/midi/midi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sound/midi/midi.h b/sys/dev/sound/midi/midi.h
index 2e36ed0..a702222 100644
--- a/sys/dev/sound/midi/midi.h
+++ b/sys/dev/sound/midi/midi.h
@@ -217,7 +217,7 @@ struct _mididev_info {
* then ioctls and other stuff
*/
-#define NMIDI_MAX 64 /* Number of supported devices */
+#define NMIDI_MAX 16 /* Number of supported devices */
/*
* many variables should be reduced to a range. Here define a macro
OpenPOWER on IntegriCloud