Nick Guenther wrote:
Aaah, I didn't realize how the user's homedir interacted with this
all. What must have been happening is that when I clicked 'play' in
soundtracker (which was running as myself) it looked for ~/.esd_auth,
didn't find it, so tried to spawn an esd, which promptly failed
because the other esd already had the soundcard.
All it took was:
ln -sf /var/empty/.esd_auth ~/.esd_auth
and now both mpd and soundtracker can play at once. There's some lag
when I first hit play but that's probably because right now it's
running with tcp and autospawning which probably are eating at it
quite a bit.

I am going to play around some more and see if I can get esd running
as a system-wide daemon.

Weird, I just tried to run esd with "-noterminate" but it said
"unrecognized option: -noterminate". The esd that packages installed
for me is "Esound version 0.2.34", what are you running?
I'm running 0.2.38v0, but I'm pretty shure, that this worked before. Try 'man esd'
I built and installed mplayer-esd and edited ~/.mplayer/config to add
ao=esd like suggested but when that is in there mplayer just says
"Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video


Exiting... (End of file)"

If I don't tell mplayer "ao=esd" then it grabs /dev/audio directly
(and works fine).
Do you know how to debug this?
Well, if I leave 'ao=esd' out, mplayer / libao tries to open /dev/audio (which is busy) and falls back to esd.
Esd should be listed if you type 'mplayer -ao help'.
Did you link ~/.esd/socket to /var/empty/.esd/socket?
((I also have
$ cat /etc/libao.conf
default_driver=esd
if that is relevant))
I have neither ~/.libao nor /etc/libao.conf, but it shouldn't matter.
Thank you for all the help so far, I had given up on esd.
-Nick
I was pretty lost at first, too. You can still try running everything as yourself, as a last resort.

I wish installation of sound mixers would be a bit more straight forward, like replacing or redirecting /dev/audio,
but I'm afraid we're out of luck with that..

- Marius

Reply via email to