From: werner s. <wsc...@us...> - 2005-05-24 14:09:04
|
Update of /cvsroot/lmuse/muse/midiplugins/transform In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20298/midiplugins/transform Modified Files: transform.cpp transform.h Log Message: updates Index: transform.cpp =================================================================== RCS file: /cvsroot/lmuse/muse/midiplugins/transform/transform.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** transform.cpp 23 May 2005 14:18:17 -0000 1.1 --- transform.cpp 24 May 2005 14:08:54 -0000 1.2 *************** *** 11,16 **** #include "awl/utils.h" - static int division = 384; - static int eventTypeTable[] = { 1, 6, 4, 7, 8, 10, 11 --- 11,14 ---- *************** *** 33,38 **** //--------------------------------------------------------- ! Transform::Transform(const char* name) ! : Mempi(name) { } --- 31,36 ---- //--------------------------------------------------------- ! Transform::Transform(const char* name, MempiHost* h) ! : Mempi(name, h) { } *************** *** 61,65 **** data.procVal2b = 0; data.funcOp = Trans; ! data.quantVal = division; data.selChannel = Ignore; data.selChannela = 0; --- 59,63 ---- data.procVal2b = 0; data.funcOp = Trans; ! data.quantVal = host->division(); data.selChannel = Ignore; data.selChannela = 0; *************** *** 865,871 **** //--------------------------------------------------------- ! static Mempi* instantiate(const char* name) { ! return new Transform(name); } --- 863,869 ---- //--------------------------------------------------------- ! static Mempi* instantiate(const char* name, MempiHost* h) { ! return new Transform(name, h); } Index: transform.h =================================================================== RCS file: /cvsroot/lmuse/muse/midiplugins/transform/transform.h,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** transform.h 23 May 2005 14:18:17 -0000 1.1 --- transform.h 24 May 2005 14:08:55 -0000 1.2 *************** *** 112,116 **** virtual void process(MPEventList*, MPEventList*); ! Transform(const char* name); virtual bool init(); virtual bool hasGui() const { return true; } --- 112,116 ---- virtual void process(MPEventList*, MPEventList*); ! Transform(const char* name, MempiHost*); virtual bool init(); virtual bool hasGui() const { return true; } |