Re: esound eats CPU cycles



> 
> Next I've been playing with gdb and I think I found something interesting.
> If I put a breakpoint at audio_oss.c:128 (the return in esd_audio_pause()),
> and run esd I do get a slowdown (with esd being stopped at that line).
> If instead I put a breakpoint at audio_oss.c:127, run esd, and continue
> after it has encountered the breakpoint, I do not get a slowdown and now
> esd is running.
> 
> So it seems to be some subtle timing problem. Might be my sound card or
> hardware, might be 2.0.36. I'll now try an old kernel.

Tried 2.0.33 and had the same loss of performance while running esd.

Hmmm somehow the lines 128 and 127 seem to really be 127 and 126.

Running esd with -nobeeps to disable the startup beeps gets rid of the
slowdown.

Playing an 8-bit wav file using esdplay without esd running gives
a normal sound without slowdown. Doing it with esd running results
in a slowdown and damaged sound (also with -nobeeps). After esdplay
has finished playing, the slowdown remains.

Still don't understand it.

Ronald



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