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

Diff for /src/usr.bin/aucat/Attic/midi.c between version 1.44 and 1.45

version 1.44, 2012/09/25 20:12:34 version 1.45, 2012/10/27 08:31:59
Line 95 
Line 95 
 }  }
   
 void  void
 midi_msg_info(struct aproc *p, int slot, char *msg)  midi_msg_info(struct aproc *p, int slot, unsigned char *msg)
 {  {
         struct ctl_slot *s;          struct ctl_slot *s;
         struct sysex *x = (struct sysex *)msg;          struct sysex *x = (struct sysex *)msg;
Line 107 
Line 107 
         x->id0 = SYSEX_AUCAT;          x->id0 = SYSEX_AUCAT;
         x->id1 = SYSEX_AUCAT_MIXINFO;          x->id1 = SYSEX_AUCAT_MIXINFO;
         if (*s->name != '\0') {          if (*s->name != '\0') {
                 snprintf(x->u.mixinfo.name,                  snprintf((char *)x->u.mixinfo.name,
                     SYSEX_NAMELEN, "%s%u", s->name, s->unit);                      SYSEX_NAMELEN, "%s%u", s->name, s->unit);
         }          }
         x->u.mixinfo.chan = slot;          x->u.mixinfo.chan = slot;
Line 115 
Line 115 
 }  }
   
 void  void
 midi_msg_vol(struct aproc *p, int slot, char *msg)  midi_msg_vol(struct aproc *p, int slot, unsigned char *msg)
 {  {
         struct ctl_slot *s;          struct ctl_slot *s;
   
Line 126 
Line 126 
 }  }
   
 void  void
 midi_msg_master(struct aproc *p, char *msg)  midi_msg_master(struct aproc *p, unsigned char *msg)
 {  {
         struct sysex *x = (struct sysex *)msg;          struct sysex *x = (struct sysex *)msg;
   

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45