Re: [Alsa-user] Using the multi plugin with a device with different number of inputs and outputs

2019-11-08 Thread Francesco Cameli
Thanks! It appears to be working.

I also find another solution, using plughw:

pcm.multiES8 {
   type multi

   slaves.a.pcm hw:USB
   slaves.a.channels 2

   slaves.b.pcm plughw:ES8
   slaves.b.channels 16  #Use the highest value (in this case, the
output value which is 16). 4 inputs (12 to 15) will not be used at all.

   ... bindings ...
}

This would basically create (as far as I understand) additional 4 inputs
channels (since the ES-8 inputs count is 12) which will not be used.

Which of the two solutions will perform better, in your opinion?
Also, I noticed the existence of a "master" parameter for the multi type.
What is its utility? Is it to define which of the sound cards used will
hold the master clock? Does this mean that the other cards will perform
drift correction according to the master one?

Thanks

Francesco

Il giorno gio 7 nov 2019 alle ore 14:32 Clemens Ladisch via Alsa-user <
alsa-user@lists.sourceforge.net> ha scritto:

> Francesco Cameli wrote:
> > Is there a way to create a multi device using a different input and
> output channels number?
>
> Only by creating two devices, one for each direction:
>
> pcm.multiES8 {
> type asym
> playback.pcm {
> type multi
> ...
> }
> capture.pcm {
> type multi
> ...
> }
> }
>
>
> Regards,
> Clemens
>
>
> ___
> Alsa-user mailing list
> Alsa-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-user
>
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


Re: [Alsa-user] Using the multi plugin with a device with different number of inputs and outputs

2019-11-07 Thread Clemens Ladisch via Alsa-user
Francesco Cameli wrote:
> Is there a way to create a multi device using a different input and output 
> channels number?

Only by creating two devices, one for each direction:

pcm.multiES8 {
type asym
playback.pcm {
type multi
...
}
capture.pcm {
type multi
...
}
}


Regards,
Clemens


___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Alsa-user] Using the multi plugin with a device with different number of inputs and outputs

2019-11-07 Thread Francesco Cameli
Hello everyone,

I am struggling to use my Expert Sleepers ES-8 audio interface together
with my other interface - a Scarlett 2i2 - with the alsa multi plugin.
Considering that the ES-8 has 12 inputs and 16 outputs, I can't seem to
directly state the total number of channels as 28, since this would create
a device with 28 ins and 28 outs, which is not what the ES-8 provides.
While for an interface with the same number of inputs and outputs I can
simply set the channels to the shared number, this doesn't work with
interfaces with a different number of inputs and outputs.

Is there a way to create a multi device using a different input and output
channels number? My .asoundrc currently looks like this:

pcm.multiES8 {
type multi
slaves.a.pcm hw:USB   #My other interface with 2ins/2outs
slaves.a.channels 2

slaves.b.pcm hw:ES8#This device has 12ins/16outs
slaves.b.channels 28 #Any number here fails. I tried 0 to 28.

... bindings here ...
}
___
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user