# HG changeset patch # User Matti Hamalainen # Date 1349044166 -10800 # Node ID ee87513fff15a02995fc4319424555f9344001bc # Parent 1936fc1a6c1816ffaebb8d038629891276184443 Renamed. diff -r 1936fc1a6c18 -r ee87513fff15 jmix_post.h --- a/jmix_post.h Mon Oct 01 01:18:28 2012 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,25 +0,0 @@ -/* - * miniJSS - Post-processing routine template - * Programmed and designed by Matti 'ccr' Hamalainen - * (C) Copyright 2005-2007 Tecnic Software productions (TNSP) - */ - -#ifdef JMIXER_HEADER -void JMIXER_NAME (Sint32 *, void *, const int); -#else -void JMIXER_NAME (Sint32 *addBuffer, void *mixBuffer, const int mixLength) -{ - int strideLength = mixLength; - Sint32 *ap = addBuffer, t; - JMIXER_TYPE *sp = (JMIXER_TYPE *) mixBuffer; - - while (strideLength--) { - t = *(ap++); - JMIXER_FUNCTION - } -} -#endif - -#undef JMIXER_NAME -#undef JMIXER_TYPE -#undef JMIXER_FUNCTION diff -r 1936fc1a6c18 -r ee87513fff15 jmix_post_c.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jmix_post_c.h Mon Oct 01 01:29:26 2012 +0300 @@ -0,0 +1,25 @@ +/* + * miniJSS - Post-processing routine template + * Programmed and designed by Matti 'ccr' Hamalainen + * (C) Copyright 2005-2007 Tecnic Software productions (TNSP) + */ + +#ifdef JMIXER_HEADER +void JMIXER_NAME (Sint32 *, void *, const int); +#else +void JMIXER_NAME (Sint32 *addBuffer, void *mixBuffer, const int mixLength) +{ + int strideLength = mixLength; + Sint32 *ap = addBuffer, t; + JMIXER_TYPE *sp = (JMIXER_TYPE *) mixBuffer; + + while (strideLength--) { + t = *(ap++); + JMIXER_FUNCTION + } +} +#endif + +#undef JMIXER_NAME +#undef JMIXER_TYPE +#undef JMIXER_FUNCTION