|
From: Jerome F. <kin...@us...> - 2011-03-11 01:39:34
|
Update of /cvsroot/munt/mt32emu/src/freeverb In directory vz-cvs-4.sog:/tmp/cvs-serv23596 Modified Files: revmodel.cpp Log Message: - Fixed Valgrind warnings during construction, and made slightly more efficient in the process. Index: revmodel.cpp =================================================================== RCS file: /cvsroot/munt/mt32emu/src/freeverb/revmodel.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** revmodel.cpp 5 Jun 2009 22:55:40 -0000 1.2 --- revmodel.cpp 11 Mar 2011 01:39:32 -0000 1.3 *************** *** 44,53 **** allpassL[3].setfeedback(0.5f); allpassR[3].setfeedback(0.5f); ! setwet(initialwet); ! setroomsize(initialroom); ! setdry(initialdry); ! setdamp(initialdamp); ! setwidth(initialwidth); ! setmode(initialmode); // Buffer will be full of rubbish - so we MUST mute them --- 44,54 ---- allpassL[3].setfeedback(0.5f); allpassR[3].setfeedback(0.5f); ! dry = initialdry; ! wet = initialwet*scalewet; ! damp = initialdamp*scaledamp; ! roomsize = (initialroom*scaleroom) + offsetroom; ! width = initialwidth; ! mode = initialmode; ! update(); // Buffer will be full of rubbish - so we MUST mute them |