In my current code, I must sadly rely on on PmInternal real structure which is very dirty. Thus, I am constrained either to give the portmidi/pm_common include path to my project or duplicate the type definition, both alternative are just as bad.
But the only thing I use/need in PmInternal is the sysex_in_progress flag. I searched in the current svn portmidi lib, but didn't find a related API. is there any function I coud use that would permit to know if this flag is true ? I need it when polling midi input data in a module, but want to avoid to read sysex data when available, because another part of my prog handles sysex separately. It works fine with the hack but would love to have a 'get attribute' clean function like: int Pm_Get_SysEx_In_Progress(PmStream* midi) { return (PmInternal*)midi->sysex_in_progress; } TIA, Fabien ----- Message d'origine ---- De : Roger Dannenberg <[EMAIL PROTECTED]> À : Evan Laforge <[EMAIL PROTECTED]>; media_api@create.ucsb.edu Envoyé le : Lundi, 29 Septembre 2008, 14h13mn 06s Objet : Re: [Media_api] aborting writeshorts Thanks for the correction -- yes, I've got your patch on my stack of work and it should be in the archives (9/6/08). -Roger Evan Laforge wrote: > I think the patch I sent implemented it, right? Or did I forget to > send that one? > > _______________________________________________ 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