1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Daniel Stenberg 2006-03-03 08:14:44 +00:00
parent e248eac20f
commit 220fafdd72
15 changed files with 1052 additions and 1006 deletions

View file

@ -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++;