]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ALSA: seq: increase the maximum number of queues
authorClemens Ladisch <clemens@ladisch.de>
Sun, 25 Jan 2015 13:36:46 +0000 (14:36 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 26 Jan 2015 12:57:29 +0000 (13:57 +0100)
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>
include/sound/seq_kernel.h

index f1c8e94524b822e8d0aa1c13f942db56cf06c5c5..18a2ac58b88f996d5668fef268f3f9c73256d1ce 100644 (file)
@@ -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