Greetings!

I have recently acquired an USB sound card (a NuForce µDAC) that I
wish to use in parallel with my onboard sound card (an Intel HDA with
IDT codec). I have managed to invoke the necessary asoundrc magic to
make sound come out of both cards in parallel (asoundrc is attached).

However, that sound device is not mixed. Only one application can open
the device. I have some mailinglist messages, where it is suggested
that the dmix devices be added after the "multi" plugin. However, I
get an error, namely "Slave PCM not usable" when trying to playback
over the device. By themselves, the dmixed pcms work fine. However, in
the multi configuration they do not.

Is it possible to use multi with dmix?

Regards,
Jan Seeger

Attached .asoundrc

pcm.onboardmixed {
        type  dmix
        ipc_key 1024
        slave.pcm "hw:0,0"
        bindings {
                 0 0
                 1 1
        }
}

pcm.nudacmixed  {
        type dmix
        ipc_key 2048
        slave.pcm "hw:1,0"
        bindings {
                 0 0
                 1 1
        }
}

pcm.multi {
        type multi;
        slaves.a.pcm "onboardmixed"
        slaves.a.channels 2
        slaves.b.pcm "nudacmixed"
        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.multisound {
        type plug;
        slave.pcm "multi";
        slave.channels 4;
        route_policy duplicate
}

# see above.
# ctl.onboard {
#         type hw;
#         card 0;
# }

# ctl.udac {
#       type hw;
#       card 1;
# }
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to