diff options
Diffstat (limited to 'apps/plugins/midi2wav.c')
-rw-r--r-- | apps/plugins/midi2wav.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/midi2wav.c b/apps/plugins/midi2wav.c index d0d46612b6..d4d5166fe0 100644 --- a/apps/plugins/midi2wav.c +++ b/apps/plugins/midi2wav.c | |||
@@ -23,7 +23,7 @@ | |||
23 | /* Only define LOCAL_DSP on Simulator or else we're asking for trouble */ | 23 | /* Only define LOCAL_DSP on Simulator or else we're asking for trouble */ |
24 | #if defined(SIMULATOR) | 24 | #if defined(SIMULATOR) |
25 | /*Enable this to write to the soundcard via a /dsv/dsp symlink in */ | 25 | /*Enable this to write to the soundcard via a /dsv/dsp symlink in */ |
26 | //#define LOCAL_DSP | 26 | /*#define LOCAL_DSP */ |
27 | #endif | 27 | #endif |
28 | 28 | ||
29 | 29 | ||
@@ -39,7 +39,7 @@ | |||
39 | 39 | ||
40 | #include "../../plugin.h" | 40 | #include "../../plugin.h" |
41 | 41 | ||
42 | //#include "../codecs/lib/xxx2wav.h" | 42 | /*#include "../codecs/lib/xxx2wav.h" */ |
43 | 43 | ||
44 | PLUGIN_HEADER | 44 | PLUGIN_HEADER |
45 | 45 | ||
@@ -200,14 +200,14 @@ int midimain(void * filename) | |||
200 | * why this happens. | 200 | * why this happens. |
201 | */ | 201 | */ |
202 | 202 | ||
203 | outputBuffer[outputBufferPosition]=outputSampleOne&0XFF; // Low byte first | 203 | outputBuffer[outputBufferPosition]=outputSampleOne&0XFF; /* Low byte first */ |
204 | outputBufferPosition++; | 204 | outputBufferPosition++; |
205 | outputBuffer[outputBufferPosition]=outputSampleOne>>8; //High byte second | 205 | outputBuffer[outputBufferPosition]=outputSampleOne>>8; /*High byte second */ |
206 | outputBufferPosition++; | 206 | outputBufferPosition++; |
207 | 207 | ||
208 | outputBuffer[outputBufferPosition]=outputSampleTwo&0XFF; // Low byte first | 208 | outputBuffer[outputBufferPosition]=outputSampleTwo&0XFF; /* Low byte first */ |
209 | outputBufferPosition++; | 209 | outputBufferPosition++; |
210 | outputBuffer[outputBufferPosition]=outputSampleTwo>>8; //High byte second | 210 | outputBuffer[outputBufferPosition]=outputSampleTwo>>8; /*High byte second */ |
211 | outputBufferPosition++; | 211 | outputBufferPosition++; |
212 | 212 | ||
213 | 213 | ||