Browse Source

simplified calls to round

richarddobson 3 weeks ago
parent
commit
d90ba88f94
1 changed files with 3 additions and 3 deletions
  1. 3 3
      dev/submix/syncatt.c

+ 3 - 3
dev/submix/syncatt.c

@@ -38,9 +38,9 @@
 #include <cdpmain.h>
 #include <cdpmain.h>
 
 
 #include <sfsys.h>
 #include <sfsys.h>
-#ifdef unix
-#define round lround
-#endif
+ //#ifdef unix 
+#define round(x) lround((x))
+//#endif
 
 
 static int  getenvpeak(int n,int samps_per_second,
 static int  getenvpeak(int n,int samps_per_second,
                        int windows_per_sector,int sectors_per_window,int window_size,dataptr dz);
                        int windows_per_sector,int sectors_per_window,int window_size,dataptr dz);