[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>
This commit is contained in:
committed by
Jaroslav Kysela
parent
7b6d92451a
commit
aa1e77e691
@ -36,9 +36,9 @@
|
||||
#include <sound/seq_device.h>
|
||||
|
||||
#if defined(CONFIG_SND_SEQ_DUMMY_MODULE)
|
||||
int seq_client_load[64] = {[0] = SNDRV_SEQ_CLIENT_DUMMY, [1 ... 63] = -1};
|
||||
int seq_client_load[15] = {[0] = SNDRV_SEQ_CLIENT_DUMMY, [1 ... 14] = -1};
|
||||
#else
|
||||
int seq_client_load[64] = {[0 ... 63] = -1};
|
||||
int seq_client_load[15] = {[0 ... 14] = -1};
|
||||
#endif
|
||||
int seq_default_timer_class = SNDRV_TIMER_CLASS_GLOBAL;
|
||||
int seq_default_timer_sclass = SNDRV_TIMER_SCLASS_NONE;
|
||||
|
Reference in New Issue
Block a user