[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.29 and 1.30

version 1.29, 2021/11/01 14:43:25 version 1.30, 2024/05/03 05:18:09
Line 155 
Line 155 
 }  }
   
 /*  /*
    * return the list of endpoints the given one receives from
    */
   unsigned int
   midi_rxmask(struct midi *ep)
   {
           int i, rxmask;
   
           for (rxmask = 0, i = 0; i < MIDI_NEP; i++) {
                   if ((midi_ep[i].txmask & ep->self) == 0)
                           continue;
                   rxmask |= midi_ep[i].self;
           }
   
           return rxmask;
   }
   
   /*
  * add the midi endpoint in the ``tag'' midi thru box   * add the midi endpoint in the ``tag'' midi thru box
  */   */
 void  void

Legend:
Removed from v.1.29  
changed lines
  Added in v.1.30