[MPlayer-users] esd consumes 20-50% of my cpu cycles. help!

D Richard Felker III dalias at aerifal.cx
Sat Feb 28 22:15:26 CET 2004


On Sat, Feb 28, 2004 at 11:59:34AM -0800, Farrell Farahbod wrote:
> sorry to but in, as i didnt start this thread, but im curious...
> 
> i think i use esd... and although i dont notice much of a cpu problem
> with it (on my amd 2800), i have always notice at least a little sound
> lag...not much, but after a movie play for a while, i often have to use
> the +/- heys one each, to *reset* the latency to 0...and then im fine.
> 
> so if my above problem sounds like its esd-related, or even if it isnt,
> how how i give mplayer/gmplayer "direct sounds access"? im on linux,
> with oss (i think. but im playing to change to alsa soon.)

Look at the mplayer output at startup to see which AO driver it's
using (oss or esd). Killing esd should make it use oss by default. BTW
ALSA provides the oss api too, so if you switch to alsa you can use
that or the native alsa stuff. Personally I think the oss api is much
better (follows unix design philosophy) whereas the alsa api is more
windows-ish, but since you can use oss api with either it doesn't
matter.

Rich




More information about the MPlayer-users mailing list