Re: How to raise the limit of 32 pcm.softvol interfaces?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed 03 Sep 2014 18:23:49 Barry Scott wrote:

> It seems that there is a limit of 32 pcm softvol interfaces.

 

In the linux kernel sound/core/control.c is this define:

 

/* max number of user-defined controls */

#define MAX_USER_CONTROLS 32

#define MAX_CONTROL_COUNT 1028

 

And in snd_ctl_elem_add it is used:

 

if (card->user_ctl_count >= MAX_USER_CONTROLS)

return -ENOMEM;

 

So that is the where the ENOMEM comes from.

 

Is there any reason I should not patch the limit bigger? Say 128?

 

Barry

 

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux