diff options
author | tanimura <tanimura@FreeBSD.org> | 2000-09-18 10:17:38 +0000 |
---|---|---|
committer | tanimura <tanimura@FreeBSD.org> | 2000-09-18 10:17:38 +0000 |
commit | e368cca5cf2cf743b617c8f27433276757ed639e (patch) | |
tree | a75ace7fe3321edf71d15d68a37759eb0c79fdac /sys | |
parent | 56aecf1ece0ec7d4fe1920c764fc67f36f30e0e4 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/dev/sound/midi/midi.h | 2 | ||||
-rw-r--r-- | 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 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 diff --git a/sys/dev/sound/midi/sequencer.h b/sys/dev/sound/midi/sequencer.h index 7275b77..e231b06 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 |