On Sat, Sep 27, 2008 at 7:37 PM, Nick Guenther <[EMAIL PROTECTED]> wrote: > On Wed, Oct 31, 2007 at 9:17 AM, Samuel Proulx <[EMAIL PROTECTED]> wrote: >> Hello, >> >> I have been using obsd as my primary desktop for a while now and i have a >> question about the sound system , is there a way to play >> two sounds at the same time ? Example watching youtube videos with opera and >> playing some music in the background with mpd or xmms . >> thank you for your time ; ) >> >> > > > Hey Samuel, > > Somehow I missed seeing this message of yours: > http://kerneltrap.org/mailarchive/openbsd-misc/2007/10/31/374006 > that's disappointing to me because I reaaaally want to get mpd to > route through esd, but if I change my config file from > > audio_output { > type "ao" > name "Libao Audio Device" > } > > to > audio_output { > type "ao" > driver "esd" > name "esd" > } > > I get `"esd" is not a valid ao driver at line 112` > > I also tried > $ cat /etc/libao.conf > default_driver=esd > > but it doesn't run esd. So did you get it working? And if so: how? >
I just noticed that there is a libao-esd package. I installed that and now mpd does indeed try to spawn an esd instance. However, there are problems: -since mpd seems to chroot itself into /var/empty it needs write access there to put a .esd_auth file (but /var/empty has to be 755 root:wheel or sshd won't let me log in). I temporarily switched the permissions and then back; once it had created the .esd_auth file it ran fine until I rebooted. -even once esd is running, it doesn't allow other applications through it at the same time (thus negating the point of having a sound server) Sooo I'm just wondering how you went about this. -Nick