Is PM_CHECK_ERRORS defined? I think the default behavior does not wait for ENTER on exit, but if you set PM_CHECK_ERRORS, e.g. by compiling with -DPM_CHECK_ERRORS, portmidi tries to check for and report errors and generally provide friendly default behavior to minimal applications. -Roger
On 4/3/14 5:23 PM, Stephane Poirier wrote: > Hi all, > > Since I have integrated portmidi into my screensaver, on exit of the > screensaver I am left with a command-line window that waits for typing > ENTER key. > > Here is the content of that window: > > registered pm_exit with atexit() > E-DSP MIDI Port [FFC0] maps to 22 > pm_winmm_term called > pm_winmm_term exiting > pm_winmm_term called > pm_winmm_term exiting > Type ENTER... > > Is there a way to bypass this portmidi default behavior? > > Steph > > _______________________________________________ > 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