Mercurial > hg > dmlib
diff jmix_post.h @ 0:32250b436bca
Initial re-import.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 28 Sep 2012 01:54:23 +0300 |
parents | |
children | 7908061da010 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jmix_post.h Fri Sep 28 01:54:23 2012 +0300 @@ -0,0 +1,26 @@ +/* + * 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 + } +} + +#undef JMIXER_NAME +#undef JMIXER_TYPE +#undef JMIXER_FUNCTION + +#endif