Browse Source

simplified calls to round

richarddobson 3 weeks ago
parent
commit
35be070c43
1 changed files with 4 additions and 0 deletions
  1. 4 0
      dev/stretch/stretch.c

+ 4 - 0
dev/stretch/stretch.c

@@ -40,6 +40,10 @@
 #include <string.h>
 #include <string.h>
 #include <stretch.h>
 #include <stretch.h>
 
 
+ //#ifdef unix 
+#define round(x) lround((x))
+//#endif
+
 static int  	do_constant_timestretch(int *thatwindow,dataptr dz);
 static int  	do_constant_timestretch(int *thatwindow,dataptr dz);
 static int  	do_timevariable_timestretch(int *thatwindow,dataptr dz);
 static int  	do_timevariable_timestretch(int *thatwindow,dataptr dz);
 static int  	do_timestretching(int *thatwindow,int count,dataptr dz);
 static int  	do_timestretching(int *thatwindow,int count,dataptr dz);