瀏覽代碼

simplified calls to round

richarddobson 2 周之前
父節點
當前提交
a260dbeaa9
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      dev/extend/drunk.c

+ 3 - 0
dev/extend/drunk.c

@@ -38,6 +38,9 @@
 #include <sfsys.h>
 #include <osbind.h>
 
+ //#ifdef unix
+#define round(x) lround((x))
+//#endif
 
 int  drunk(int here,int *obufpos,int *thisbuf,int thisdur,double pregain,int *endwrite,int outbufspace,dataptr dz);
 int  do_pause(int here,int *obufpos,int *endwrite,int *thisbuf,int thisdur,double pregain,int outbufspace,dataptr dz);