All of lore.kernel.org
 help / color / mirror / Atom feed
* increase number of alsa loopback
@ 2019-02-27 14:20 Olivier SCHMITT
  2019-02-27 14:35 ` Jaroslav Kysela
  0 siblings, 1 reply; 3+ messages in thread
From: Olivier SCHMITT @ 2019-02-27 14:20 UTC (permalink / raw)
  To: alsa-devel

Hello All,

First, thanks for your project!

I search to increase the maximum number of 32 alsa loopback.

Can someone say me how do this?

Thanks in advance! Olivier.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: increase number of alsa loopback
  2019-02-27 14:20 increase number of alsa loopback Olivier SCHMITT
@ 2019-02-27 14:35 ` Jaroslav Kysela
       [not found]   ` <e96dc312-d183-bca4-0ffa-6d3d12185c3b@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Jaroslav Kysela @ 2019-02-27 14:35 UTC (permalink / raw)
  To: Olivier SCHMITT, alsa-devel

Dne 27. 02. 19 v 15:20 Olivier SCHMITT napsal(a):
> Hello All,
> 
> First, thanks for your project!
> 
> I search to increase the maximum number of 32 alsa loopback.
> 
> Can someone say me how do this?

There's hardcoded limit for the PCM substreams to 8, but you may enable
more loopback cards (options snd-aloop enable=1,1,1,1).

				Jaroslav

-- 
Jaroslav Kysela <perex@perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: increase number of alsa loopback
       [not found]   ` <e96dc312-d183-bca4-0ffa-6d3d12185c3b@gmail.com>
@ 2019-02-27 16:12     ` Jaroslav Kysela
  0 siblings, 0 replies; 3+ messages in thread
From: Jaroslav Kysela @ 2019-02-27 16:12 UTC (permalink / raw)
  To: Olivier SCHMITT; +Cc: ALSA development

Dne 27. 02. 19 v 16:44 Olivier SCHMITT napsal(a):
> Hello,
> 
> Thanks for reply,
> 
> I have configure /etc/modprobe.d/alsa-base.conf with:
> 
> options snd-aloop 
> index=5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29 
> id=lp0,lp1,lp2,lp3,lp4,lp5,lp6,lp7,lp8,lp9,lp10,lp11,lp12,lp13,lp14,lp15,lp16,lp17,lp18,lp19,lp20,lp21,lp22,lp23,lp24 
> enable=1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1 
> pcm_substreams=2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
> 
> but when i use index more than 32, i have some message in syslog that 
> it's say alsa can't use index greather than 32...
> 
> Maybe have your an idea for modify et recompiling kernel?

I'm afraid, the ALSA card limit (32) is hardcoded and cannot be easily
changed. The recompilation won't help.

You may use up to 8 pcm substreams per the loop card. This limit can be
increased by changing the value in aloop.c (kernel driver).

					Jaroslav

> Le 27/02/2019 à 15:35, Jaroslav Kysela a écrit :
>> Dne 27. 02. 19 v 15:20 Olivier SCHMITT napsal(a):
>>> Hello All,
>>>
>>> First, thanks for your project!
>>>
>>> I search to increase the maximum number of 32 alsa loopback.
>>>
>>> Can someone say me how do this?
>> There's hardcoded limit for the PCM substreams to 8, but you may enable
>> more loopback cards (options snd-aloop enable=1,1,1,1).
>>
>> 				Jaroslav
>>


-- 
Jaroslav Kysela <perex@perex.cz>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-02-27 16:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-27 14:20 increase number of alsa loopback Olivier SCHMITT
2019-02-27 14:35 ` Jaroslav Kysela
     [not found]   ` <e96dc312-d183-bca4-0ffa-6d3d12185c3b@gmail.com>
2019-02-27 16:12     ` Jaroslav Kysela

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.