using #include <windows.h> in Windows to enable use of Kernel32.lib will cause sleep(5) to sleep for 5 milliseconds, not 5 seconds
John Heenan
----- Original Message ----- From: "Miller Puckette" mpuckett@man104-1.ucsd.edu
to die or Pd to crash. You should be able to call "sleep(5)" from an object and have Pd bounce back after 5 seconds as if nothing were wrong except a DIO error. If this isn't working it's wrong and I'd like to know what audio hardware&drivers you're getting this with...
Sorry, I'm not sure windows has a "sleep" function, substiture a for loop counting to 1000000000 for example.)