|
|
| version 1.1, 2003/12/24 16:11:40 | version 1.3, 2004/01/07 12:51:29 |
|---|---|
| Line 2 | Line 2 |
| #include "commng.h" | #include "commng.h" |
| #include "cpucore.h" | #include "cpucore.h" |
| #include "sound.h" | #include "sound.h" |
| #include "cmjasts.h" | |
| #define JSEVENTS 512 | #define JSEVENTS 512 |
| Line 110 static void SOUNDCALL js_getpcm(CMJAST h | Line 111 static void SOUNDCALL js_getpcm(CMJAST h |
| #else | #else |
| pcmdata = hdl->pcm; | pcmdata = hdl->pcm; |
| #endif | #endif |
| while(count) { | if (pcmdata) { |
| count--; | while(count) { |
| pcm[0] += pcmdata; | count--; |
| pcm[1] += pcmdata; | pcm[0] += pcmdata; |
| pcm += 2; | pcm[1] += pcmdata; |
| pcm += 2; | |
| } | |
| } | } |
| } | } |