Slave PCM not usable (with some HW)

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

 



Hi all,
   i've two soundcard:

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio
Controller (rev 02)    and
0000:00:1f.5 Multimedia audio controller: Intel Corporation 6300ESB
AC'97 Audio Controller (rev 02)

with this .asoundrc:

pcm.multi {
   type multi
   slaves.a.pcm "dmix:0,0" # main sound card
   slaves.a.channels 2
   slaves.b.pcm "dmix:1,0" # aloop sound card
   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.hdaloop_out {
        type route
        slave.pcm "multi"
        slave.channels 4
        ttable.0.0 1
        ttable.1.1 1
        ttable.0.2 1
        ttable.1.3 1
}

pcm.hdaloop_in {
   type multi
   slaves.a.pcm "dsnoop:0,0" # main sound card
   slaves.a.channels 2
   slaves.b.pcm "dsnoop:1,1" # aloop sound card
   slaves.b.channels 2
   bindings.0.slave a
   bindings.0.channel 0
   bindings.1.slave b
   bindings.1.channel 0
}

# default with dmix+softvol & dsnoop
pcm.!default {
    type asym
    playback.pcm {
        type plug
        slave.pcm "hdaloop_out"            	
    }
    capture.pcm {
        type plug
	slave.pcm "dsnoop:0,0"
    }
}

pcm.ear {
    type plug
    slave.pcm "hdaloop_in"
}

It's works fine with the first sound card, but it doesn't works with
the second one ad i obtain "Slave PCM not usable"
I need to remove some plugins to make it works:

pcm.multi {
   type multi
 #  slaves.a.pcm "dmix:0,0" # main sound card
   slaves.a.pcm "hw:0,0" # main sound card
   slaves.a.channels 2
   slaves.b.pcm "dmix:1,0" # aloop sound card
 #  slaves.b.pcm "hw:1,0" # aloop sound card
   slaves.b.channels 2
...
pcm.hdaloop_in {
   type multi
   slaves.a.pcm "dsnoop:0" # main sound card
 #  slaves.a.pcm "hw:0,0" # main sound card
   slaves.a.channels 2
#   slaves.b.pcm "dsnoop:1,1" #,1" # aloop sound card
   slaves.b.pcm "hw:1,1" # aloop sound card
...

But this configuration isn't usable for me.
Tested with alsa driver/lib 1.0.21

any idea?

tnx,
   Dino

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
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