[SDL] Beeps and bells.
sdl at ksl2.freeserve.co.uk
Sun Mar 11 12:30:40 PST 2001
> On 11 Mar 2001 16:17:53 +0000, Lee Haywood wrote:
> > We've had a thread about using the PC speaker recently, and David posted a
> > "speaker emulator".
> > But what my users want is a simple beep when using a machine without a
> > soundcard. I might be able to get X to give me beeps, but is there some
> > simple way to get Windows to generate them (cross-compiled in Linux)?
Julian Peterson <julianp at earthling.net> wrote:
> printf("\a"); ?
Funny, but I asked for something that would work in Windows - if you do
that you'd get an entry in 'stdout.txt', not to a terminal.
Even in Linux it would only work if a terminal (e.g. xterm) was available
and remained available.
- Deth -
More information about the SDL