[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.15 and 1.16

version 1.15, 2016/01/08 16:17:31 version 1.16, 2017/01/03 06:53:20
Line 97 
Line 97 
         ep->mode = mode;          ep->mode = mode;
   
         /*          /*
          * the output buffer is the client intput           * the output buffer is the client input
          */           */
         if (ep->mode & MODE_MIDIIN)          if (ep->mode & MODE_MIDIIN)
                 abuf_init(&ep->obuf, MIDI_BUFSZ);                  abuf_init(&ep->obuf, MIDI_BUFSZ);
Line 147 
Line 147 
                         panic();                          panic();
                 }                  }
 #endif  #endif
                 /* ep has empry buffer, so no need to call midi_tickets() */                  /* ep has empty buffer, so no need to call midi_tickets() */
                 peer->txmask |= ep->self;                  peer->txmask |= ep->self;
         }          }
 }  }

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16