|
|
| version 1.2, 2004/08/20 12:09:20 | version 1.3, 2005/02/04 06:42:12 |
|---|---|
| Line 1 | Line 1 |
| #include "compiler.h" | #include "compiler.h" |
| #if defined(SUPPORT_TURBOZ) || defined(SUPPORT_OPM) | |
| #include "sound.h" | #include "sound.h" |
| #include "sndctrl.h" | #include "sndctrl.h" |
| extern OPMCFG opmcfg; | extern OPMCFG opmcfg; |
| #define CALCENV(e, c, s) \ | #define CALCENV(e, c, s) \ |
| (c)->slot[(s)].freq_cnt += (c)->slot[(s)].freq_inc; \ | (c)->slot[(s)].freq_cnt += (c)->slot[(s)].freq_inc; \ |
| (c)->slot[(s)].env_cnt += (c)->slot[(s)].env_inc; \ | (c)->slot[(s)].env_cnt += (c)->slot[(s)].env_inc; \ |
| Line 147 void SOUNDCALL opmgen_getpcm(void *hdl, | Line 148 void SOUNDCALL opmgen_getpcm(void *hdl, |
| (void)hdl; | (void)hdl; |
| } | } |
| #endif |