summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClemens Ladisch <clemens@ladisch.de>2015-01-25 14:36:46 +0100
committerTakashi Iwai <tiwai@suse.de>2015-01-26 13:57:29 +0100
commit1001fb810b1295d0600c0c6bdcb17889460470a5 (patch)
tree031a161979d6bf3853fe2fb779ef62dd393474e5
parenta55bdf1ec5945050bfce9c3b2c3d8b70e8fd01a1 (diff)
downloadlinux-1001fb810b1295d0600c0c6bdcb17889460470a5.tar.bz2
ALSA: seq: increase the maximum number of queues
Queues are used both for scheduling playback events and for assigning timestamps to recorded events, so it is easy to need quite a lot of them, especially on a multi-user system. Additionally, the actual queue objects are allocated dynamically, so it does not really make sense to have a low limit. Increase it to something still sane. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--include/sound/seq_kernel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sound/seq_kernel.h b/include/sound/seq_kernel.h
index f1c8e94524b8..18a2ac58b88f 100644
--- a/include/sound/seq_kernel.h
+++ b/include/sound/seq_kernel.h
@@ -28,7 +28,7 @@ typedef struct snd_seq_real_time snd_seq_real_time_t;
typedef union snd_seq_timestamp snd_seq_timestamp_t;
/* maximum number of queues */
-#define SNDRV_SEQ_MAX_QUEUES 8
+#define SNDRV_SEQ_MAX_QUEUES 32
/* max number of concurrent clients */
#define SNDRV_SEQ_MAX_CLIENTS 192