]> git.alsa-project.org Git - alsa-lib.git/commitdiff
seq: reorganize sequencer client numbers
authorClemens Ladisch <clemens@ladisch.de>
Mon, 12 Dec 2005 09:36:02 +0000 (09:36 +0000)
committerClemens Ladisch <clemens@ladisch.de>
Mon, 12 Dec 2005 09:36:02 +0000 (09:36 +0000)
Reduce the maximum possible number of global clients to 16 to make
more numbers available for card clients, and allow dynamically allocated
card client numbers to share the same range as application client
numbers to make sure that all 32 cards can be used at the same time.

include/sound/asequencer.h

index e9eed144954d64d900bdcf54c131e9100639bfbd..eac0a77a092863823efbffedcaaa628c0f5ede39 100644 (file)
@@ -501,8 +501,9 @@ struct sndrv_seq_running_info {
 
        /* known client numbers */
 #define SNDRV_SEQ_CLIENT_SYSTEM                0
-#define SNDRV_SEQ_CLIENT_DUMMY         62      /* dummy ports */
-#define SNDRV_SEQ_CLIENT_OSS           63      /* oss sequencer emulator */
+       /* internal client numbers */
+#define SNDRV_SEQ_CLIENT_DUMMY         14      /* midi through */
+#define SNDRV_SEQ_CLIENT_OSS           15      /* oss sequencer emulator */
 
 
        /* client types */