Yes adding -DNEWBUFFER works for the newest version. Steven Hunt also suggested the same thing.

I had to make one other change. It appears there is a conflicting definition with Pt_Sleep. I fixed it by changing portime/ptwinmm.c line 68: from int to long. I think this should be changed in the code...not sure why MSVC isn't complaining about this.

-John

Roger Dannenberg wrote:
John,
I don't have a mingw system set up for testing, and in fact, I missed getting the mingw makefile and adding it to the release (thanks for bringing it up again). There were some changes after the makefile post, so you *could* go back to an earlier version, but I'd suggest you try recompiling the latest sources with -DNEWBUFFER. If you can get it working, maybe we can get updates into the distribution.
    Thanks,
    Roger

John Harrison wrote:
Anybody have a Makefile to do this?

I tried:
*http://tinyurl.com/ypuuwd

*but that is broken for the latest portmidi/mingw release, apparently.

I get:

pm_common/portmidi.o pm_common/portmidi.c
pm_common/portmidi.c: In function `pm_flush_sysex':
pm_common/portmidi.c:1002: error: structure has no member named `queue'
pm_common/portmidi.c: In function `pm_read_bytes':
pm_common/portmidi.c:1138: error: structure has no member named `queue'
mingw32-make: *** [pm_common/portmidi.o] Error 1

-John

------------------------------------------------------------------------

_______________________________________________
media_api mailing list
[email protected]
http://lists.create.ucsb.edu/mailman/listinfo/media_api
_______________________________________________
media_api mailing list
[email protected]
http://lists.create.ucsb.edu/mailman/listinfo/media_api

Reply via email to