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

Re: Mplayer and esd: "Could not open/initialize audio device -> no sound."



Hi Ralph!

On Sat, 12 Mar 2005 14:08:37 -0500, Ralph Katz <ralph.katz@rcn.com> wrote:
> On 03/12/2005 06:20 AM, Hannes Mayer wrote:
> > Hi all!
> >
> > After solving the problem with XMMS (simply switching to esd), I have
> > problems with mplayer.
> > # dpkg -l mpla\*
> > ii  mplayer-586                      1.0-pre6-sarge0.2
> > I've got the packages from ftp://ftp.nerim.net/debian-marillat
> >
> > If I switch to esound in mplayer, I simply get the error:
> > Could not open/initialize audio device -> no sound.
> > .. while XMMS is working fine.
[...]
> Have you put esd in your .mplayer/config file?
> 
> Here's mine, though I'm using oss:
> 
> ~$ uname -r
> 2.6.8-2-686
> 
> ~$ cat .mplayer/config
> # Write your default config options here!
> 
> ao=esd

Thanks for your reply, but unfortunately that doesn't work aswell.
But I've further tracked down the problem:
It seems that /dev/dsp is not released.
If I kill esd and start it from shell with
# esd  -nobeeps -as 5
xmms works. If I "ctrl-c" it and restart esd with the same command,
mplayer works.
But neither side-by-side or one after the other. I always have to stop
esd and restart it (there seems to be no timeout for releasing
/dev/dsp)

Thanks & best regards,
Hannes.



Reply to: