Clone Audio between onboard card and USB adapter

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

 



Hi All,
 
I'm currently trying to setup Alsa so that it clones all the audio sent to my default soundcard (just bog standard onboard connected via headphone jack) and duplicates the output to a USB soundcard.

I checked out the documentation for the asoundrc config but it's not making too much sense, the 'copy' plugin example seems way more complex than what i'm looking for.

Currently I've got this, but i'm only getting audio output from the default onboard card..
 
pcm.!default {
        type plug
        slave.pcm "dup"
}
pcm.dup {
        type copy
        slave.pcm "hw:0,0"
        slave.pcm "hw:1,0"
}
Here is the output of aplay -l (the first device is my default, the last is the one I want to clone to)
 
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC662 Analog [ALC662 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Audio [USB Audio], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Can anyone spot where I've gone wrong ?

Many Thanks!

Beyond Hotmail - see what else you can do with Windows Live. Find out more.
------------------------------------------------------------------------------
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