summaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2005-12-12 09:36:01 +0100
committerJaroslav Kysela <perex@suse.cz>2006-01-03 12:30:50 +0100
commitaa1e77e691025149908f7641e77de93ffd7f1188 (patch)
treea5c0742275e31a69bf0e9f35e03af9120b1a4cf9 /include/sound
parent[ALSA] seq: set client name in snd_seq_create_kernel_client() (diff)
downloadlinux-aa1e77e691025149908f7641e77de93ffd7f1188.tar.xz
linux-aa1e77e691025149908f7641e77de93ffd7f1188.zip
[ALSA] seq: reorganize sequencer client numbers
Modules: ALSA sequencer 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. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/asequencer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sound/asequencer.h b/include/sound/asequencer.h
index 59485be05797..6691e4aa4ea7 100644
--- a/include/sound/asequencer.h
+++ b/include/sound/asequencer.h
@@ -502,8 +502,9 @@ struct snd_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 */