[SDL] Beeps and bells.
David Olofson
david.olofson at reologica.se
Mon Mar 12 09:01:04 PST 2001
On Monday 12 March 2001 17:25, Ville Hallik wrote:
> On Mon, 12 Mar 2001, David Olofson wrote:
> > But how does the XTerm do it, then...? I'm assuming the X server has some
> > kind of API for it
>
> Yes, it has. See "man XBell" and "man XChangeKeyboardControl" (same page
> actually) for more info.
Yep, found that after some digging in various applications. :-) Using
XChangeKeyboardControl() all the time looks like a nasty hack, but probably
works.
However, what about the X server and heavy graphics rendering? I'm not
expecting to be able to pump beeps out at 60 Hz through X, like the speaker
emulator (and the original DOS code) does...
//David
.- M A I A -------------------------------------------------.
| Multimedia Application Integration Architecture |
| A Free/Open Source Plugin API for Professional Multimedia |
`----------------------> http://www.linuxaudiodev.com/maia -'
.- David Olofson -------------------------------------------.
| Audio Hacker - Open Source Advocate - Singer - Songwriter |
`--------------------------------------> david at linuxdj.com -'
More information about the SDL
mailing list