[BACK]Return to audioio.h CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / sys

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/sys/audioio.h between version 1.34.34.3 and 1.35

version 1.34.34.3, 2017/04/26 02:53:31 version 1.35, 2016/12/08 10:28:44
Line 143  typedef struct audio_encoding {
Line 143  typedef struct audio_encoding {
 #define AUDIO_ENCODINGFLAG_EMULATED 1 /* software emulation mode */  #define AUDIO_ENCODINGFLAG_EMULATED 1 /* software emulation mode */
 } audio_encoding_t;  } audio_encoding_t;
   
   struct audio_pid {
           pid_t   pid;                    /* for audio device belonging to pid */
           lwpid_t lwpid;                  /* unused */
   };
   
 /*  /*
  * Balance settings.   * Balance settings.
  */   */
Line 157  typedef struct audio_encoding {
Line 162  typedef struct audio_encoding {
 #define AUDIO_SPEAKER           0x01    /* built-in speaker */  #define AUDIO_SPEAKER           0x01    /* built-in speaker */
 #define AUDIO_HEADPHONE         0x02    /* headphone jack */  #define AUDIO_HEADPHONE         0x02    /* headphone jack */
 #define AUDIO_LINE_OUT          0x04    /* line out      */  #define AUDIO_LINE_OUT          0x04    /* line out      */
 #define VC_OUT                  0x08    /* virt chan out */  
   
 /*  /*
  * Input ports   * Input ports
Line 166  typedef struct audio_encoding {
Line 170  typedef struct audio_encoding {
 #define AUDIO_LINE_IN           0x02    /* line in       */  #define AUDIO_LINE_IN           0x02    /* line in       */
 #define AUDIO_CD                0x04    /* on-board CD inputs */  #define AUDIO_CD                0x04    /* on-board CD inputs */
 #define AUDIO_INTERNAL_CD_IN    AUDIO_CD        /* internal CDROM */  #define AUDIO_INTERNAL_CD_IN    AUDIO_CD        /* internal CDROM */
 #define VC_IN                   0x08    /* virt chan in */  
   
 /*  /*
  * Audio device operations   * Audio device operations
Line 191  typedef struct audio_encoding {
Line 194  typedef struct audio_encoding {
 #define  AUDIO_PROP_PLAYBACK    0x10  #define  AUDIO_PROP_PLAYBACK    0x10
 #define  AUDIO_PROP_CAPTURE     0x20  #define  AUDIO_PROP_CAPTURE     0x20
 #define AUDIO_GETBUFINFO        _IOR('A', 35, struct audio_info)  #define AUDIO_GETBUFINFO        _IOR('A', 35, struct audio_info)
 #define AUDIO_SETCHAN   _IOW('A', 36, int)  #define AUDIO_SETPROC   _IOW('A', 36, struct audio_pid)
 #define AUDIO_GETCHAN   _IOR('A', 37, int)  
   
 /*  /*
  * Mixer device   * Mixer device
Line 338  typedef struct mixer_ctrl {
Line 340  typedef struct mixer_ctrl {
 #define AudioCmonitor   "monitor"  #define AudioCmonitor   "monitor"
 #define AudioCequalization      "equalization"  #define AudioCequalization      "equalization"
 #define AudioCmodem     "modem"  #define AudioCmodem     "modem"
 #define AudioCvirtchan  "vchan"  
   
 #endif /* !_SYS_AUDIOIO_H_ */  #endif /* !_SYS_AUDIOIO_H_ */

Legend:
Removed from v.1.34.34.3  
changed lines
  Added in v.1.35

CVSweb <webmaster@jp.NetBSD.org>