diff dmlib.h @ 36:f3407a58e01e

Change DMFixedPoint types and appropriate JSS functions back to using signed integers, easier than trying to get unsigned sizes etc. to work properly in audio mixing.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 29 Sep 2012 20:41:36 +0300
parents 2f463a59d732
children f28cd66356f6
line wrap: on
line diff
--- a/dmlib.h	Sat Sep 29 20:33:27 2012 +0300
+++ b/dmlib.h	Sat Sep 29 20:41:36 2012 +0300
@@ -97,15 +97,15 @@
  */
 typedef union
 {
-    Uint64 dw;
-    Uint32 w[2];
+    Sint64 dw;
+    Sint32 w[2];
 } DMFixedPoint;
 
 
 typedef union
 {
-    Uint32 dw;
-    Uint16 w[2];
+    Sint32 dw;
+    Sint16 w[2];
 } DMFixedPoint32;