On Tuesday 10 March 2009 07:35:35 Ardhan Madras wrote: > Maybe here is not right place to ask such question. > > Basically, you will need to open /dev/console, call ioctl to the device with > KIOCSOUND request (see <linux/kd.h>) and a integer that describes the freq. > Use delay (usleep, nanosleep, etc.), then use 0 as freq to stop the beep. > > --- ajhwb > > --- garthskidst...@gmail.com wrote: > > From: "Garth's KidStuff" <garthskidst...@gmail.com> > To: gtk-app-devel-list@gnome.org > Subject: How to make a simple beep? > Date: Sun, 1 Mar 2009 07:38:14 -0800 > > Hey All, > > I'm running under Ubuntu 8.10 and want to make a simple beep -- like the > Windows Beep function which takes a frequency (in Hz) and a duration (in > milliseconds). Does anyone have a place to point me? > > TIA > > -Garth >
Hi, gdk_beep(); Ciao, ZZ _______________________________________________ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list