[ALSA] dynamic minors (5/6): reduce maximum number of MIDI devices per card
authorClemens Ladisch <clemens@ladisch.de>
Sun, 20 Nov 2005 13:08:28 +0000 (14:08 +0100)
committerJaroslav Kysela <perex@suse.cz>
Tue, 3 Jan 2006 11:29:20 +0000 (12:29 +0100)
commit204bdb1b50013c7aa3922d8b66df943123087bd8
tree9e1721fe87bd960d497dfbb7a3abe9ddb57e5365
parent332682b1cd540dd7abbbbfc1905af8139e76e1b7
[ALSA] dynamic minors (5/6): reduce maximum number of MIDI devices per card

Modules: ALSA sequencer,Generic drivers

To allow increasing the maximum number of sound cards, we have to limit
the number of sequencer clients per card because client numbers are
still allocated statically.

Reducing the number of clients to four limits the number of sequencer
MIDI ports to 1024 per card.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
sound/core/seq/seq_clientmgr.c
sound/drivers/virmidi.c