Re: Two sound cards simultaneously

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

 



On Thursday 27 September 2007, Mark Constable wrote:
> As a baseline, say I started with this, where could I go
>
> >from here to get an app (ie; Amarok) to play back out two
>
> soundcards at once ?

Well, first of all you'd probably like to slap a plug plugin around it:

pcm.pshared {
	type plug
	slave.pcm "shared"
}

and then use pshared as the pcm device name in ALSA apps... [As far as i can 
tell the plug plugin should usually copy a 2 channel input signal into all 4 
channels of the combined pcm device per default [not tested]]

Flo

>
> # cat .asoundrc
> pcm.NVidia { type hw; card NVidia; }
> ctl.NVidia { type hw; card NVidia; }
>
> pcm.USX2Y  { type hw; card USX2Y; }
> ctl.USX2Y  { type hw; card USX2Y; }
>
> pcm.shared {
>   type dshare
>   ipc_key 321456  # any unique value
>   ipc_key_add_uid true
>   slave NVidia
>   slave USX2Y
>   bindings {
>     0 0
>     1 1
>   }
> }
>
> --markc
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Alsa-user mailing list
> Alsa-user@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/alsa-user



-- 
Palimm Palimm!
http://tapas.affenbande.org

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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