NetBSD/sys/arch/i386/include/spkr.h

21 lines
459 B
C
Raw Normal View History

/*
* spkr.h -- interface definitions for speaker ioctl()
*
1994-01-11 16:30:40 +03:00
* $Id: spkr.h,v 1.2 1994/01/11 13:30:40 mycroft Exp $
*/
1994-01-11 16:30:40 +03:00
#ifndef _I386_SPKR_H_
#define _I386_SPKR_H_
#include <sys/ioctl.h>
#define SPKRTONE _IOW('S', 1, tone_t) /* emit tone */
1994-01-11 16:30:40 +03:00
#define SPKRTUNE _IO('S', 2) /* emit tone sequence */
1994-01-11 16:30:40 +03:00
typedef struct {
int frequency; /* in hertz */
int duration; /* in 1/100ths of a second */
} tone_t;
1994-01-11 16:30:40 +03:00
#endif /* _I386_SPKR_H_ */