Mailing List Archive

Support open source code!


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

Re: Thousands of erroneous syslogs about media changes



>>>>> "Tobias" == Tobias Diedrich <ranma@example.com> writes:

    Tobias> Stephen J. Turnbull wrote:
    >> Just Say No to magicdev and esound (esound does so many evil
    >> things that this margin cannot contain a description of them
    >> all...).

    Tobias> I know esddsp is a hack,

You mean esd* is a hack.

    Tobias> What kind of evil things does esound do ?

(0) Reinvent the wheel.  There were at least three adequate sound
daemon architectures (rplay, Xaudio, and NAS) available, but the esd
developers had to invent a (not very interesting) new one and then
implement it badly.

(1) (This is long fixed, but typical.)  Spam the kernel with literally
hundreds of interrupts per second.

(2) Hook interrupts incorrectly, creating race conditions.

(3) libesd hooks SIGUSR1, which should be left for the app's use.
Furthermore, see (2).  Worst of all, it's the third level of
redundancy in lib <-> daemon communication, used to attempt to wake up
the daemon if it's wedged.  (It's not your machine, it's ESD's.)

(4) The fourth level of redundancy is that if libesd can't find any
other way to talk to a daemon, it forks one off itself, in polling
mode.

-- 
University of Tsukuba                Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences       Tel/fax: +81 (298) 53-5091
_________________  _________________  _________________  _________________
What are those straight lines for?  "XEmacs rules."


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links