Olivier Blin <[EMAIL PROTECTED]> writes:
Scratch that... ARTS isn't listed in the README file for ao2...
Developing an ao output plugin for xmms might be useful, however...
I think it wouldn't be hard to check if arts or esd is started. Have a look at /usr/bin/soundwrapper, it's really simple. We could use a script that basically does this:
#!/bin/sh if [ `/sbin/pidof -s artsd` ] ; then # make xmms use arts plugin else if [ `/sbin/pidof -s esd` ]; then # make xmms use esd plugin else # check wether alsa or oss is used fi fi
I never wanted to do so because I think user can be surprised by the output plugin changing "automatically". Additionally, if then user launches xmms from commandline and soundwrapper chose, say, arts, if arts is no longer running xmms will be suddenly not working.
But you notice the soundwrapper script launches whatever program is passed to it. All you'd have to do, is at the end of soundwrapper (after the program exits) go back and change it back. Problem solved.
