The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/include/minix/sound.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /* Definitions used by /dev/audio and /dev/mixer.
    2  *
    3  *  Feb 13 1995                 Author: Michel R. Prevenier 
    4  */
    5 
    6 #ifndef SOUND_H
    7 #define SOUND_H
    8 
    9 /* ------- Mixer stuff ------- */
   10 
   11 /* Available devices */
   12 enum Device
   13 {
   14   Master,     /* Master volume */
   15   Dac,        /* DSP, digitized sound */
   16   Fm,         /* Fm synthesized sound */
   17   Cd,         /* Compact */
   18   Line,       /* Line in */
   19   Mic,        /* Microphone */
   20   Speaker,    /* Pc speaker */
   21   Treble,     /* Treble */
   22   Bass        /* Bass */
   23 };
   24 
   25 enum InputState
   26 {
   27   ON, OFF
   28 };
   29 
   30 /* Volume levels range from 0 to 31, bass & treble range from 0 to 15 */
   31 struct volume_level
   32 {
   33   enum Device   device; 
   34   int           left;           
   35   int           right;
   36 };
   37 
   38 struct inout_ctrl
   39 {
   40   enum Device           device;
   41   enum InputState       left;
   42   enum InputState       right;
   43 };
   44 
   45 #endif /* SOUND_H */

Cache object: eaf3895dabf26d77cfe13f3dbcdcdcc6


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.