Ok. I created a new mingw build. This time I added back in portmidi. It is working great. I tested the midi input via portmidi and is indeed working correctly. I tested midi input 5 times and restarted it afterwords. In this process denemo only hung on shutdown one time. Here is the link for testing: http://denemo.org/~jjbenham/gub/uploads/denemo-0.0.0-0.mingw.exe
Jeremiah On Wed, Mar 6, 2013 at 7:11 PM, Jeremiah Benham <[email protected]>wrote: > Awesome! That worked. It no longer hangs when exiting. The version I > tested had --disable-portmidi. I am going to remove the exit -1 from > portmidi and recompile with --enable-portmidi and test again. > > Jeremiah > On Mar 6, 2013 10:35 AM, "Richard Shann" <[email protected]> wrote: > >> On Wed, 2013-03-06 at 13:40 +0000, Richard Shann wrote: >> > >> > > So I should delete everything from this function but the exit(-1)? >> > Well, IMHO a library call should *never* exit, it should always return >> > an error to the user who can decide what to do. >> > I have (I believe) tested this though without (seemingly) success, so >> > I >> > will check in to git an attempt to fix this by the opposite route, of >> > just exiting the main thread. >> I've tested this code (using git master in gub) and it works on the xp >> box which was previously hanging on exit. Can you confirm that git >> master is working on wine? I have put a message at the end about not >> shutting down the audio threads, so as to be sure that the right version >> is being run, this is visible when running denemo-console.exe (from a >> terminal at any rate). >> >> Richard >> >> >> >> _______________________________________________ >> Denemo-devel mailing list >> [email protected] >> https://lists.gnu.org/mailman/listinfo/denemo-devel >> >
_______________________________________________ Denemo-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/denemo-devel
