Since the unit number of a midi/sequencer device is expressed in 4

bits, we can configure only up to 16 units.
This commit is contained in:
Seigo Tanimura 2000-09-18 10:17:38 +00:00
parent eb7ba7f95c
commit c74c29ca6b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=66029
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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