Hi, On lun, mar 07, 2005, Nathan Hurst wrote: > Nonono, every time I bring this problem up with a project I get the same > answer :) I have multiple cards. I want to be able to select which card > is for rhythmbox independently of which card is used for gnomemeeting, or > system sounds, or games etc.
Well, each app has its mode of operation. Configure in your alsa configuration files the global default, then create / configure your esound (esd) preferences, and finally configure your GStreamer preferences. > >See the ALSA documentation and website for more hints on this. > It talks about -d ens1371 as an option, but that only seems to work with > aplay and the like. 'AUDIODEV="ens1371" rhythmbox' does not have any > effect (it works for most games). Some programs (like xmms) allow you to > choose which device is for output. The stack is as follow: < Rhythmbox > < GStreamer > < Esound > or < OSS > or < ALSA > < OSS > or < ALSA > I can't tell whether you run Esound or not, if you do run it, there's no point in telling Rhythmbox to output to a different "device" or "daemon", since esound can be instanced only once. In the contrary, if GStreamer is bound to ALSA directly, you might select the proper device via GStreamer options. At least the "alsasink" element knows how to select different ALSA devices. Have a look at the README.Debian, and try to run the pipeline therein with an ALSA device, something like: gst-launch-0.8 gnomevfssrc location=/path/to/my/musicfile.ogg ! \ spider ! volume ! audioscale ! audioconvert ! \ alsasink device="default" Where "default" is your ALSA device. I think there's no point in supporting such configuration items via command-line options for any GStreamer program, but your particular request makes sense. GStreamer provides support of command-line parsing of GStreamer related command line arguments, but you can't pass things such as "the device parameter of the alsasink element", you have to rework your GST pipeline. A quick hack for you would be to recompile Rhythmbox to suit your needs (ie. with a hardcoded ALSA output device). Regards, -- Loïc Minier <[EMAIL PROTECTED]> "Neutral President: I have no strong feelings one way or the other."