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

Diff for /src/usr.bin/sndiod/midi.c between version 1.23 and 1.24

version 1.23, 2020/01/23 05:27:17 version 1.24, 2020/04/25 05:03:54
Line 190 
Line 190 
 }  }
   
 /*  /*
    * return the list of tags
    */
   unsigned int
   midi_tags(struct midi *ep)
   {
           int i;
           struct midithru *t;
           unsigned int tags;
   
           tags = 0;
           for (i = 0; i < MIDITHRU_NMAX; i++) {
                   t = midithru + i;
                   if ((t->txmask | t->rxmask) & ep->self)
                           tags |= 1 << i;
           }
           return tags;
   }
   
   /*
  * broadcast the given message to other endpoints   * broadcast the given message to other endpoints
  */   */
 void  void

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.24