Francois, Thanks for finding this. I can't figure out why this didn't show up in earlier tests, but it was so obviously wrong, I just committed the change. It appears to be just a typo, but one that's been around a long while. This code is supposed to optimize byte-by-byte processing for long messages, so maybe something is causing it to not be used in most cases. I'll look into it further, and thanks again. -Roger
François Becker wrote: > Hi, > > Trying to send MMC GOTO commands and MTC full timecode, I faced some bug > corrupting sent data. When running in debug mode step-by-step, something > appeared suspect to me in the portmidi.c source file, line 539: > > ptr[2] = msg >> 18; ptr[3] = msg >> 24; > > Should it not be 16 instead of 18? I found this patch fixed my bug. > > Sincerly yours, > > F.B. > _______________________________________________ > media_api mailing list > media_api@create.ucsb.edu > http://lists.create.ucsb.edu/mailman/listinfo/media_api > > _______________________________________________ media_api mailing list media_api@create.ucsb.edu http://lists.create.ucsb.edu/mailman/listinfo/media_api