[PD-cvs] externals/unauthorized/sonogram~ sonogram~-yves.c,1.5,1.6 sonogram~.c,1.6,1.7

carmen rocco ix9 at users.sourceforge.net
Sun May 30 07:20:03 CEST 2004


Update of /cvsroot/pure-data/externals/unauthorized/sonogram~
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16368/sonogram~

Modified Files:
	sonogram~-yves.c sonogram~.c 
Log Message:
trying out the roast of these NT Tweak .


Index: sonogram~-yves.c
===================================================================
RCS file: /cvsroot/pure-data/externals/unauthorized/sonogram~/sonogram~-yves.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** sonogram~-yves.c	25 Sep 2003 20:58:55 -0000	1.5
--- sonogram~-yves.c	30 May 2004 05:20:01 -0000	1.6
***************
*** 47,51 ****
  #endif
  #ifdef NT
! #define M_PI 3.14159265358979323846
  #endif
  #include <math.h>
--- 47,56 ----
  #endif
  #ifdef NT
! #define random rand
! #include <windows.h>
! static int usleep (unsigned int us) {
!   Sleep((long)(us/1000.));
!   return 0;
! }
  #endif
  #include <math.h>

Index: sonogram~.c
===================================================================
RCS file: /cvsroot/pure-data/externals/unauthorized/sonogram~/sonogram~.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** sonogram~.c	30 Mar 2004 04:18:55 -0000	1.6
--- sonogram~.c	30 May 2004 05:20:01 -0000	1.7
***************
*** 45,49 ****
  #endif
  #ifdef NT
! #define M_PI 3.14159265358979323846
  #endif
  #include <math.h>
--- 45,54 ----
  #endif
  #ifdef NT
! #define random rand
! #include <windows.h>
! static int usleep (unsigned int us) {
!   Sleep((long)(us/1000.));
!   return 0;
! }
  #endif
  #include <math.h>





More information about the Pd-cvs mailing list