Re: Scheduler ( was: Just a second ) ...

Helge Hafting (helgehaf@idb.hist.no)
Wed, 19 Dec 2001 12:05:23 +0100


Doug Ledford wrote:

> Weel, evidently esd and artsd both do this (well, I assume esd does now, it
> didn't do this in the past). Basically, they both transmit silence over the
> sound chip when nothing else is going on. So even though you don't hear
> anything, the same sound output DMA is taking place.

Uuurgh. :-(

> That avoids things
> like nasty pops when you start up the sound hardware for a beep and that

Yuk, bad hardware. Pops when you start or stop writing? You don't even
have to turn the volume off or something to get a pop? Toss it.

> sort of thing. It also maintains state where as dropping output entirely
> could result in things like module auto unloading and then reloading on the
> next beep, etc.

Much better solved by having the device open, but not writing anything.
Open devices don't unload.

Helge Hafting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/