Mercurial > hg > dmlib
annotate jmix_post.h @ 34:7908061da010
Fix building of JSS mixer parts.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 29 Sep 2012 20:31:10 +0300 |
parents | 32250b436bca |
children |
rev | line source |
---|---|
0 | 1 /* |
2 * miniJSS - Post-processing routine template | |
3 * Programmed and designed by Matti 'ccr' Hamalainen | |
4 * (C) Copyright 2005-2007 Tecnic Software productions (TNSP) | |
5 */ | |
6 | |
7 #ifdef JMIXER_HEADER | |
8 void JMIXER_NAME (Sint32 *, void *, const int); | |
9 #else | |
10 void JMIXER_NAME (Sint32 *addBuffer, void *mixBuffer, const int mixLength) | |
11 { | |
12 int strideLength = mixLength; | |
13 Sint32 *ap = addBuffer, t; | |
14 JMIXER_TYPE *sp = (JMIXER_TYPE *) mixBuffer; | |
15 | |
16 while (strideLength--) { | |
17 t = *(ap++); | |
18 JMIXER_FUNCTION | |
19 } | |
20 } | |
34
7908061da010
Fix building of JSS mixer parts.
Matti Hamalainen <ccr@tnsp.org>
parents:
0
diff
changeset
|
21 #endif |
0 | 22 |
23 #undef JMIXER_NAME | |
24 #undef JMIXER_TYPE | |
25 #undef JMIXER_FUNCTION |