|
From: Jerome F. <kin...@us...> - 2009-06-11 21:30:51
|
Update of /cvsroot/munt/mt32emu/src In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv21915/src Modified Files: synth.cpp Log Message: - Code indentation fixes. Index: synth.cpp =================================================================== RCS file: /cvsroot/munt/mt32emu/src/synth.cpp,v retrieving revision 1.64 retrieving revision 1.65 diff -C2 -d -r1.64 -r1.65 *** synth.cpp 11 Jun 2009 14:24:23 -0000 1.64 --- synth.cpp 11 Jun 2009 21:30:48 -0000 1.65 *************** *** 731,738 **** } // This is checked early in the real devices (before any sysex length checks or further processing) ! if (command == SYSEX_CMD_DT1 && sysex[0] == 0x7F) { ! reset(); ! return; ! } if (len < 4) { printDebug("playSysexWithoutHeader: Message is too short (%d bytes)!", len); --- 731,738 ---- } // This is checked early in the real devices (before any sysex length checks or further processing) ! if (command == SYSEX_CMD_DT1 && sysex[0] == 0x7F) { ! reset(); ! return; ! } if (len < 4) { printDebug("playSysexWithoutHeader: Message is too short (%d bytes)!", len); *************** *** 1196,1203 **** m=0; for (unsigned int i = 0; i < len; i++) { ! stream[m] = clipBit16s(outbufl[i] * 32767.0f); ! m++; ! stream[m] = clipBit16s(outbufr[i] * 32767.0f); ! m++; } for (unsigned int i = 0; i < MT32EMU_MAX_PARTIALS; i++) { --- 1196,1203 ---- m=0; for (unsigned int i = 0; i < len; i++) { ! stream[m] = clipBit16s(outbufl[i] * 32767.0f); ! m++; ! stream[m] = clipBit16s(outbufr[i] * 32767.0f); ! m++; } for (unsigned int i = 0; i < MT32EMU_MAX_PARTIALS; i++) { |