2c823077d7
which has so many fans.
19 lines
452 B
C
19 lines
452 B
C
/* $NetBSD: spkrio.h,v 1.1 1998/04/15 20:26:19 drochner Exp $ */
|
|
|
|
/*
|
|
* spkr.h -- interface definitions for speaker ioctl()
|
|
*/
|
|
|
|
#ifndef _DEV_ISA_SPKR_H_
|
|
#define _DEV_ISA_SPKR_H_
|
|
|
|
#define SPKRTONE _IOW('S', 1, tone_t) /* emit tone */
|
|
#define SPKRTUNE _IO('S', 2) /* emit tone sequence */
|
|
|
|
typedef struct {
|
|
int frequency; /* in hertz */
|
|
int duration; /* in 1/100ths of a second */
|
|
} tone_t;
|
|
|
|
#endif /* _DEV_ISA_SPKR_H_ */
|