From c74c29ca6b3ea3b813e65d1f7d7b86cb07000a0b Mon Sep 17 00:00:00 2001 From: Seigo Tanimura Date: Mon, 18 Sep 2000 10:17:38 +0000 Subject: [PATCH] Since the unit number of a midi/sequencer device is expressed in 4 bits, we can configure only up to 16 units. --- sys/dev/sound/midi/midi.h | 2 +- sys/dev/sound/midi/sequencer.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/sound/midi/midi.h b/sys/dev/sound/midi/midi.h index 2e36ed06095..a702222d764 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 diff --git a/sys/dev/sound/midi/sequencer.h b/sys/dev/sound/midi/sequencer.h index 7275b77e98e..e231b0642ea 100644 --- a/sys/dev/sound/midi/sequencer.h +++ b/sys/dev/sound/midi/sequencer.h @@ -200,7 +200,7 @@ struct _seqdev_info { /* * then ioctls and other stuff */ -#define NSEQ_MAX 64 /* Number of supported devices */ +#define NSEQ_MAX 16 /* Number of supported devices */ /* * many variables should be reduced to a range. Here define a macro