Home | History | Annotate | Line # | Download | only in include
spkr.h revision 1.2
      1 /*
      2  * spkr.h -- interface definitions for speaker ioctl()
      3  *
      4  *	$Id: spkr.h,v 1.2 1994/01/11 13:30:40 mycroft Exp $
      5  */
      6 
      7 #ifndef _I386_SPKR_H_
      8 #define _I386_SPKR_H_
      9 
     10 #include <sys/ioctl.h>
     11 
     12 #define SPKRTONE        _IOW('S', 1, tone_t)    /* emit tone */
     13 #define SPKRTUNE        _IO('S', 2)             /* emit tone sequence */
     14 
     15 typedef struct {
     16 	int	frequency;	/* in hertz */
     17 	int	duration;	/* in 1/100ths of a second */
     18 } tone_t;
     19 
     20 #endif /* _I386_SPKR_H_ */
     21