Browse Source

simplified calls to round

richarddobson 2 weeks ago
parent
commit
a260dbeaa9
1 changed files with 3 additions and 0 deletions
  1. 3 0
      dev/extend/drunk.c

+ 3 - 0
dev/extend/drunk.c

@@ -38,6 +38,9 @@
 #include <sfsys.h>
 #include <sfsys.h>
 #include <osbind.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  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);
 int  do_pause(int here,int *obufpos,int *endwrite,int *thisbuf,int thisdur,double pregain,int outbufspace,dataptr dz);