[MPlayer-users] sharing sound device

gabor farkas gabor at realtime.sk
Thu Nov 7 15:57:02 CET 2002


On Wed, Nov 06, 2002 at 10:17:11PM -0800, Erick Calder wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> I want to be able to run mpg123 and mplayer at the same time so it was
> suggested to me that using ESD would allow me to do this.
> 
> I thus ran the ESD daemon and tried "-ao sdl:esd" but I get:
> 
> > DL: using esd audio driver
> > SDL: Unable to open audio: No available audio device
> > couldn't open/init audio device -> no sound
> > Audio: no sound!!!
> 
> I see that section 5.4 of the FAQ states:
> 
> "A: Are you running KDE or GNOME with the arts or esd sound daemon? Try
> disabling the sound daemon, or use the -ao arts switch to make MPlayer use
> arts."
> 
> since I seem to need to disable the ESD daemon then I gather it should not
> be running... I shut it down and again tried "-ao sdl:esd" with the same
> result... so I get taht error whether I'm running esd or not... wtf?
> 
> I've also tried -ao arts with same result.
> 
> if I am not running the ESD daemon and run "mplayer myfile" it works fine.

> I get audio...  what am I missing here?

your choices:

arts is running:

-ao arts

esd is running:

-ao sdl:esd

----------------
or you can kill your esd or arts server, and use the native audio
output:

-ao oss (probably, it can be -ao alsa09 too, depends on your sound card
drivers )...

by default mplayer assumes -ao oss, so if you don't specify it on
command line or in a config file then 
"mplayer x.avi" equals to "mplayer -ao oss x.avi"

bye,
gabor



> 
> I've also done searches on Google for an answer but find zilch.
> 
> thx - erick
> 
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users

-- 
That's life for you, said McDunn.  Someone always waiting for someone 
who never comes home.  Always someone loving something more than that 
thing loves them.  And after awhile you want to destroy whatever 
that thing is, so it can't hurt you no more.
                -- R. Bradbury, "The Fog Horn"




More information about the MPlayer-users mailing list