/* $NetBSD: spkrio.h,v 1.2 2016/12/09 04:46:39 christos Exp $ */ /* * spkrio.h -- interface definitions for speaker ioctl() */ #ifndef _DEV_SPKRIO_H_ #define _DEV_SPKRIO_H_ #include #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