[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.5 and 1.6

version 1.5, 2012/11/30 22:26:34 version 1.6, 2012/12/01 12:13:34
Line 14 
Line 14 
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF   * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
 /*  
  * TODO  
  *  
  * use shadow variables (to save NRPNs, LSB of controller)  
  * in the midi merger  
  */  
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
Line 216 
Line 210 
 }  }
   
 /*  /*
  * broadcast the given message to other members of the thru box   * broadcast the given message to other endpoints
  */   */
 void  void
 midi_send(struct midi *iep, unsigned char *msg, int size)  midi_send(struct midi *iep, unsigned char *msg, int size)
Line 255 
Line 249 
                 oep->ops->omsg(oep->arg, msg, size);                  oep->ops->omsg(oep->arg, msg, size);
         }          }
 }  }
   
   
 /*  /*
  * determine if we have gained more input tickets, and if so call the   * determine if we have gained more input tickets, and if so call the

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6