Re: [linux-audio-user] .asoundrc - merging two soundcards

From: federico <xaero@email-addr-hidden>
Date: Sun Oct 16 2005 - 00:50:05 EEST

federico ha scritto:

> i want to merge my two devices (analog and digital) to be able to use
> them together in jack/qjackctl.
> my card configuration is:
> hw:1,0 -> 2 in, 8 out
> hw:1,1 -> 8 in, 8 out

however i can also use only the first two analog in/outs.
should...

with this configuration (10 channels -> 2 analog, 8 digital) jack starts
fine, but crashes after few seconds:

jackd 0.99.0
Copyright 2001-2003 Paul Davis and others.
jackd comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details
loading driver ..
apparent rate = 44100
creating alsa driver ...
ttable|ttable|256|2|44100|0|0|hwmon|hwmeter|soft-mode|32bit
configuring for 44100Hz, period = 256 frames, buffer = 2 periods
23:46:56.185 Server configuration saved to "/home/xaero/.jackdrc".
23:46:56.185 Statistics reset.
23:46:56.190 Client activated.
23:46:56.192 Audio connection change.
23:46:56.193 Audio connection graph change.
ALSA: poll time out, polled for 8714344 usecs
23:47:02.885 XRUN callback (1).
jackd watchdog: timeout - killing jackd
23:47:04.179 Client deactivated.
23:47:04.180 JACK was stopped successfully.
23:47:04.181 Shutdown notification.
zombified - calling shutdown handler
cannot read result for request type 7 from server (Connection reset by peer)
cannot send request type 7 to server
cannot read result for request type 7 from server (Broken pipe)

here is my asound.conf:

pcm.!default {
    type plug
    slave sl44100
}
ctl.!default {
    type hw
    card 1
}
pcm_slave.sl44100 {
    pcm "hw:1,0"
    channels 2
    rate 44100
}

pcm.Gina {
    type hw
    card 1
    device 0
}
pcm.Fostex_ADAT {
    type hw
    card 1
    device 1
}

pcm.multi {
    type multi
    slaves.b.pcm "Gina"
    slaves.b.channels 2
    slaves.z.pcm "Fostex_ADAT"
    slaves.z.channels 8
    bindings.0.slave z
    bindings.0.channel 0
    bindings.1.slave z
    bindings.1.channel 1
    bindings.2.slave z
    bindings.2.channel 2
    bindings.3.slave z
    bindings.3.channel 3
    bindings.4.slave z
    bindings.4.channel 4
    bindings.5.slave z
    bindings.5.channel 5
    bindings.6.slave z
    bindings.6.channel 6
    bindings.7.slave z
    bindings.7.channel 7
    bindings.8.slave b
    bindings.8.channel 0
    bindings.9.slave b
    bindings.9.channel 1
}
ctl.multi {
    type hw
    card 1
}

pcm.ttable {
    type route
    slave.pcm "multi"
    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
}
ctl.ttable {
    type hw
    card 1
}
Received on Sun Oct 16 04:15:07 2005

This archive was generated by hypermail 2.1.8 : Sun Oct 16 2005 - 04:15:07 EEST