[BACK]Return to amsg.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / aucat

Diff for /src/usr.bin/aucat/Attic/amsg.h between version 1.17 and 1.18

version 1.17, 2010/06/05 12:45:48 version 1.18, 2010/10/21 18:57:42
Line 18 
Line 18 
 #define AMSG_H  #define AMSG_H
   
 #include <stdint.h>  #include <stdint.h>
   #include "conf.h"
   
 /*  /*
  * WARNING: since the protocol may be simultaneously used by static   * WARNING: since the protocol may be simultaneously used by static
Line 46 
Line 47 
         union {          union {
                 struct amsg_par {                  struct amsg_par {
                         uint8_t legacy_mode;    /* compat for old libs */                          uint8_t legacy_mode;    /* compat for old libs */
 #define AMSG_IGNORE     0                       /* loose sync */  
 #define AMSG_SYNC       1                       /* resync after xrun */  
 #define AMSG_ERROR      2                       /* kill the stream */  
                         uint8_t xrun;           /* one of above */                          uint8_t xrun;           /* one of above */
                         uint8_t bps;            /* bytes per sample */                          uint8_t bps;            /* bytes per sample */
                         uint8_t bits;           /* actually used bits */                          uint8_t bits;           /* actually used bits */
Line 84 
Line 82 
                         uint32_t ctl;                          uint32_t ctl;
                 } vol;                  } vol;
                 struct amsg_hello {                  struct amsg_hello {
 #define AMSG_PLAY       0x1                     /* audio playback */                          uint16_t mode;          /* bitmap of MODE_XXX */
 #define AMSG_REC        0x2                     /* audio recording */  
 #define AMSG_MIDIIN     0x4                     /* MIDI thru input */  
 #define AMSG_MIDIOUT    0x8                     /* MIDI thru output */  
 #define AMSG_MON        0x10                    /* audio monitoring */  
 #define AMSG_RECMASK    (AMSG_REC | AMSG_MON)   /* can record ? */  
                         uint16_t proto;         /* protocol type */  
 #define AMSG_VERSION    3  #define AMSG_VERSION    3
                         uint8_t version;        /* protocol version */                          uint8_t version;        /* protocol version */
                         uint8_t reserved1[5];   /* for future use */                          uint8_t reserved1[5];   /* for future use */

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18