Mercurial > hg > dmlib
comparison jssplr.h @ 358:3bdc776a4b33
Add C++ guards.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 16 Oct 2012 21:24:48 +0300 |
parents | 6d9a3577741b |
children | 5a003246a735 |
comparison
equal
deleted
inserted
replaced
357:1b8362a26692 | 358:3bdc776a4b33 |
---|---|
8 | 8 |
9 #include "jss.h" | 9 #include "jss.h" |
10 #include "jssmod.h" | 10 #include "jssmod.h" |
11 #include "jssmix.h" | 11 #include "jssmix.h" |
12 | 12 |
13 #ifdef __cplusplus | |
14 extern "C" { | |
15 #endif | |
13 | 16 |
14 // Player general constants | 17 // Player general constants |
15 #define mpMinVol (0) | 18 #define mpMinVol (0) |
16 #define mpMaxVol (64) | 19 #define mpMaxVol (64) |
17 #define mpPanCenter (0) | 20 #define mpPanCenter (0) |
174 # define JMPDEBUG(QQ) { fprintf(stderr, "[o=%03d:p=%03d:r=%03d] (%c/%x:%x) %s\n", mp->order, mp->npattern, mp->row, effect, currNote->effect, currNote->param, QQ ); } | 177 # define JMPDEBUG(QQ) { fprintf(stderr, "[o=%03d:p=%03d:r=%03d] (%c/%x:%x) %s\n", mp->order, mp->npattern, mp->row, effect, currNote->effect, currNote->param, QQ ); } |
175 #else | 178 #else |
176 # define JMPDEBUG(QQ) // stub | 179 # define JMPDEBUG(QQ) // stub |
177 #endif | 180 #endif |
178 | 181 |
182 #ifdef __cplusplus | |
183 } | |
184 #endif | |
185 | |
179 #endif // JSSPLR_H | 186 #endif // JSSPLR_H |