[linux-audio-user] Multiple Cards(sorry, i know it's an ancient topic)

Rick Wright riwright at vt.edu
Wed May 24 08:32:46 EDT 2006


paul santa clara wrote:

> Hi everyone,
>     I am attempting to utilize my asound.conf to create a virtual  
> interface out of two delta 410 cards.  There are several examples of  
> this online, but even after digesting them and plunging into the ALSA  
> doxygen docs, i am still unable to make jackd happy.  My  
> understanding is that a route plug is inefficient but necessary for  
> jack to lock down the memory(unless the MMAP_COMPLEX patch is  
> applied).   Using jack 0.99.0
>
> jackd -v -d alsa -P ttable_play         results in the error...
> ALSA lib pcm_multi.c:970:(_snd_pcm_multi_open) Unknown field 10
> ALSA: Cannot open PCM device alsa_pcm for playback.  Falling back to  
> capture-only mode.
>
> The playback  portion of my asound.conf follows.  Any help would be  
> greatly appreciated.  I actually thought I understood the  
> configuration process until it failed to work. ;)
>
> thanks in advance,
> -paul
>
> pcm.multi_playback {
>      type multi
>      slaves.a.pcm hw:1                   <---------------------- "hw:0"?
>      slaves.a.pcm channels 10
>      slaves.b.pcm hw:2                   <---------------------- "hw:1"?
>      slaves.b.pcm channels 10
> #note that ice1217 chip actually has 10 outs(8 analogue on 410)

I don't know much about .asoundrc configuration, but should the "hw" 
index start at 0?

Rick

>
> #first 8 analogue channels of FIRST 410
> #bindings . virtual channel
>      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 a
>      bindings.6.channel 6
>      bindings.7.slave a
>      bindings.7.channel 7
>
> #first 8 analogue channels of SECOND 410
>      bindings.8.slave b
>      bindings.8.channel 0
>      bindings.9.slave b
>      bindings.9.channel 1
>      bindings.10.slave b
>      bindings.10.channel 2
>      bindings.11.slave b
>      bindings.11.channel 3
>      bindings.12.slave b
>      bindings.12.channel 4
>      bindings.13.slave b
>      bindings.13.channel 5
>      bindings.14.slave b
>      bindings.14.channel 6
>      bindings.15.slave b
>      bindings.15.channel 7
>
> #SPDIF 1st 410
> #    bindings.16.slave a
> #    bindings.16.channel 8
> #    bindings.17.slave a
> #    bindings.17.channel 9
>
> #SPDIF 2nd 410
> #    bindings.18.slave b
> #    bindings.18.channel 8
> #    bindings.19.slave b
> #    bindings.19.channel 9
>
> }
> #end pcm.multiplayback
>
> ctl.multi_playback {
>      type hw
>      card 0
> }
>
> #interleave playback channels
> #slow but required by JACK
> pcm.ttable_play {
>      type route
>      slave.pcm "multi_playback"
>      ttable.0.0 1
>      ttable.1.1 1
>      ttable.2.2 1
>      ttable.3.3 1
>      ttable.4.4 1
>      ttable.5.5 1
>      ttable.6.6 1
>      ttable.7.7    1
>      ttable.8.8 1
>      ttable.9.9 1
>      ttable.10.10 1
>      ttable.11.11 1
>      ttable.12.12 1
>      ttable.13.13 1
>      ttable.14.14 1
>      ttable.15.15 1
> #SPDIF playback
> #    ttable.16.16 1
> #    ttable.17.17 1
> }
> #END pcm.ttable_play
>
> ctl.ttable_play {
>      type hw
>      card 0
> }
>
>
>
>
>



More information about the Linux-audio-user mailing list