Re: echo layla and digital I/O

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

 



Hello Carlo, 



Op den Maandag 21 Juni 2010 Klock 11:50:10 hett Carlo Ascani schreven:
> Hi all,
> i have an echo layla and it works well with alsa and jack.
> It has a digital spdif I/O, that alsa discovers as a subdevice.
> So hw:0,0 is the 8 i/o
> and hw:0,1 is the digital i/o
> 
> Now, cause jack works with 1 device at time, i can't use all the 10
> input of Layla at the same time.
> 
> I think i could make a virtual device that includes the 2 subdevices
> in .asoundrc
> But i really need help to do that, i found wiki examples too hard for
> a n00b like me :(
> 

i have done the same with GINA3G. Maybe this can help you with the first steps

sizu c~

--------------------  schnipp ------------------ 

# create a virtual fourteen-channel device with gina3g's
# # analog and digital output:
pcm.gina3g_out14 {
     type multi;
     slaves.a.pcm "hw:0,0";
     slaves.a.channels 6;
     slaves.b.pcm "hw:0,1";
     slaves.b.channels 2;

     bindings.0.slave a;
     bindings.0.channel 0;
     bindings.1.slave a;
     bindings.1.channel 1;
     bindings.2.slave a;
     bindings.2.channel 2;
     bindings.3.slave a;
     bindings.3.channel 3;
     bindings.4.slave a;
     bindings.4.channel 4;
     bindings.5.slave a;
     bindings.5.channel 5;
     bindings.6.slave b;
     bindings.6.channel 0;
     bindings.7.slave b;
     bindings.7.channel 1;
}
pcm.plug_out14 {
     type plug
     slave.pcm "gina3g_out14"
}
# Create a fake mixer for Jack to talk to
ctl.gina3g_out14 {
   type hw;
   card 0;
}
ctl.plug_out14 {
    type hw;
    card 0;
}

# create a virtual ten-channel device with gina3g's
# analog and digital input:
pcm.gina3g_in10 {
   type multi;
   slaves.a.pcm "hw:0,0";
   slaves.a.channels 2;
   slaves.b.pcm "hw:0,1";
   slaves.b.channels 2;
   bindings.0.slave a;
   bindings.0.channel 0;
   bindings.1.slave a;
   bindings.1.channel 1;
   bindings.2.slave b;
   bindings.2.channel 0;
   bindings.3.slave b;
   bindings.3.channel 1;
}

pcm.plug_in10 {
   type plug
   slave.pcm "gina3g_in10"
}

# Create a fake mixer for Jack to talk to
ctl.gina3g_in10 {
   type hw;
   card 0;
}

ctl.plug_in10 {
   type hw;
   card 0;
}
---------------  schnipp 

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
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