diff options
| author | Daniel Stenberg <daniel@haxx.se> | 2006-03-03 08:14:44 +0000 |
|---|---|---|
| committer | Daniel Stenberg <daniel@haxx.se> | 2006-03-03 08:14:44 +0000 |
| commit | 220fafdd72eab05eb49cf6811d15d6618a168910 (patch) | |
| tree | c90ef2fe3e9bb932197ac3ff5b305dd39a66204e /apps/plugins/midi2wav.c | |
| parent | e248eac20fc75566605aee705c130e0fa456aced (diff) | |
| download | rockbox-220fafdd72eab05eb49cf6811d15d6618a168910.zip rockbox-220fafdd72eab05eb49cf6811d15d6618a168910.tar.gz rockbox-220fafdd72eab05eb49cf6811d15d6618a168910.tar.bz2 rockbox-220fafdd72eab05eb49cf6811d15d6618a168910.tar.xz | |
Code Police raid. Mostly changed // comments and indented to Rockbox style.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8894 a1c6a512-1295-4272-9138-f99709370657
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 d0d4661..d4d5166 100644 --- a/apps/plugins/midi2wav.c +++ b/apps/plugins/midi2wav.c @@ -23,7 +23,7 @@ /* Only define LOCAL_DSP on Simulator or else we're asking for trouble */ #if defined(SIMULATOR) /*Enable this to write to the soundcard via a /dsv/dsp symlink in */ - //#define LOCAL_DSP + /*#define LOCAL_DSP */ #endif @@ -39,7 +39,7 @@ #include "../../plugin.h" -//#include "../codecs/lib/xxx2wav.h" +/*#include "../codecs/lib/xxx2wav.h" */ PLUGIN_HEADER @@ -200,14 +200,14 @@ int midimain(void * filename) * why this happens. */ - outputBuffer[outputBufferPosition]=outputSampleOne&0XFF; // Low byte first + outputBuffer[outputBufferPosition]=outputSampleOne&0XFF; /* Low byte first */ outputBufferPosition++; - outputBuffer[outputBufferPosition]=outputSampleOne>>8; //High byte second + outputBuffer[outputBufferPosition]=outputSampleOne>>8; /*High byte second */ outputBufferPosition++; - outputBuffer[outputBufferPosition]=outputSampleTwo&0XFF; // Low byte first + outputBuffer[outputBufferPosition]=outputSampleTwo&0XFF; /* Low byte first */ outputBufferPosition++; - outputBuffer[outputBufferPosition]=outputSampleTwo>>8; //High byte second + outputBuffer[outputBufferPosition]=outputSampleTwo>>8; /*High byte second */ outputBufferPosition++; |