Thanks for that, just tried it out but when using it I don't get any sound at all.. from either device. I think I understand the config up to where it's specifying pcm.!default but not sure what it's doing after that. When I try to play a wave file using aplay I get; xbmc@Revo-ION:~$ aplay testing.wav Playing WAVE 'testing.wav' : Signed 16 bit Little Endian, Rate 11025 Hz, Mono ALSA lib pcm_params.c:2135:(snd1_pcm_hw_refine_slave) Slave PCM not usable aplay: set_params:957: Broken configuration for this PCM: no configuration available Is there any other output I can get that could help figure out what's gone wrong? Many Thanks Neil > Date: Thu, 1 Oct 2009 10:02:25 +0200 > Subject: Re: Clone Audio between onboard card and USB adapter > From: dino.puller@xxxxxxxxx > To: swift_gti@xxxxxxx > CC: alsa-user@xxxxxxxxxxxxxxxxxxxxx > > Try this configuration: > > pcm.multi { > type multi > slaves.a.pcm "dmix:0,0" # main sound card > slaves.a.channels 2 > slaves.b.pcm "dmix:1,0" # usb 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.!default { > type asym > playback.pcm { > type plug > slave.pcm "hdaloop_out" > } > capture.pcm { > type plug > slave.pcm "dsnoop:0,0" > } > } > > 2009/10/1 Neil Sutton <swift_gti@xxxxxxx>: > > 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 > > > > View your Twitter and Flickr updates from one place – Learn more! 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