Re: Beep()

[identity profile] call-waiting.livejournal.com 2010-01-06 03:22 pm (UTC)(link)
That's exactly how I read it. Except that that's crazy. The obvious thing to do would have been to change Beep() so that it uses proper sound hardware if it's available, and fall back to the timer sound generator if no proper hardware is available.

What I'm basically saying is this: Beep() is an API. It should be abstract. There is no requirement that it be implemented in any particular way, only that it work.

So for the last 20 years, hardware manufacturers have been manufacturing PCs with something that looks like an 8254 in them, just to make a beeping sound when a Windows program calls Beep(), when it would have been far simpler to change the software implementation of Beep() to use the *real* sound system.

What I am basically saying is this: that is crazy. ;)