diff jmix_c.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 fb5200deeda8
children
line wrap: on
line diff
--- a/jmix_c.h	Sat Sep 29 20:33:27 2012 +0300
+++ b/jmix_c.h	Sat Sep 29 20:41:36 2012 +0300
@@ -5,9 +5,9 @@
  */
 
 #ifdef JMIXER_HEADER
-int JMIXER_NAME (JSSMixer *, JSSChannel *, Sint32 *, const int, const Uint32);
+int JMIXER_NAME (JSSMixer *, JSSChannel *, Sint32 *, const int, const Sint32);
 #else
-int JMIXER_NAME (JSSMixer *mixer, JSSChannel *chn, Sint32 *addBuffer, const int mixLength, const Uint32 endPos)
+int JMIXER_NAME (JSSMixer *mixer, JSSChannel *chn, Sint32 *addBuffer, const int mixLength, const Sint32 endPos)
 {
     const JSSVolumeTable *volTab8 = (const JSSVolumeTable *) &(mixer->volTab8);
     Sint32 *ap = addBuffer;