Browse Source

simplified calls to round

richarddobson 2 tuần trước cách đây
mục cha
commit
bded709427
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      dev/filter/filters1.c

+ 4 - 0
dev/filter/filters1.c

@@ -40,6 +40,10 @@
 #include <filters.h>
 #include <logic.h>
 
+ //#ifdef unix
+#define round(x) lround((x))
+//#endif
+
 static int    readsamps_with_wrap(dataptr dz);
 static double get_gain(dataptr dz);
 static double get_pshift(dataptr dz);