Pārlūkot izejas kodu

simplified calls to round

richarddobson 2 nedēļas atpakaļ
vecāks
revīzija
e80e679bb7
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      dev/env/pluck.c

+ 3 - 0
dev/env/pluck.c

@@ -41,6 +41,9 @@
 #include <sfsys.h>
 #include <osbind.h>
 
+//#ifdef unix
+#define round(x) lround((x))
+//#endif
 
 static int  do_wrap(int samps_to_wrap,dataptr dz);
 static int  read_rest_of_file(int initial_bufsize,dataptr dz);