shithub: neindaw

Download patch

ref: 11bee08c7da60c752092e5ada1ede8a9dc916a68
parent: 053d3b16498c601e2af3023f2011e9fa6bf84843
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Thu Aug 26 09:09:45 EDT 2021

fs: move a macro up the file

--- a/fs.c
+++ b/fs.c
@@ -9,6 +9,7 @@
 
 #define MAX(a,b) ((a)>=(b)?(a):(b))
 #define MIN(a,b) ((a)<=(b)?(a):(b))
+#define CROSS(a,b) (a <= 0.0f && a <= b && b >= 0.0f)
 #define Silence 0.00003f
 
 enum {
@@ -145,8 +146,6 @@
 {
 	respond(r, nil);
 }
-
-#define CROSS(a,b) (a <= 0.0f && a <= b && b >= 0.0f)
 
 static int
 auxreaddsp(Aux *a, float *b, int total)