root/dev/isa/spkrio.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


DEFINITIONS

This source file includes following definitions.
  1. tone_t

    1 /*      $OpenBSD: spkrio.h,v 1.1 1999/01/02 00:02:43 niklas Exp $       */
    2 /*      $NetBSD: spkrio.h,v 1.1 1998/04/15 20:26:19 drochner Exp $      */
    3 
    4 /*
    5  * spkr.h -- interface definitions for speaker ioctl()
    6  */
    7 
    8 #ifndef _DEV_ISA_SPKR_H_
    9 #define _DEV_ISA_SPKR_H_
   10 
   11 #define SPKRTONE        _IOW('S', 1, tone_t)    /* emit tone */
   12 #define SPKRTUNE        _IO('S', 2)             /* emit tone sequence */
   13 
   14 typedef struct {
   15         int     frequency;      /* in hertz */
   16         int     duration;       /* in 1/100ths of a second */
   17 } tone_t;
   18 
   19 #endif /* _DEV_ISA_SPKR_H_ */

/* [<][>][^][v][top][bottom][index][help] */