Update of /cvsroot/pure-data/externals/grill/vst/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6119/src
Modified Files: main.cpp vstmaster.cpp Log Message: minimal added event processing (like Midi in)
Index: vstmaster.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/grill/vst/src/vstmaster.cpp,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** vstmaster.cpp 11 Mar 2005 04:58:01 -0000 1.1 --- vstmaster.cpp 12 Mar 2005 04:59:16 -0000 1.2 *************** *** 275,278 **** --- 275,279 ---- samplepos += frames;
+ // \todo this factor should be cached ppqpos += frames*tempo/(samplerate*60);
Index: main.cpp =================================================================== RCS file: /cvsroot/pure-data/externals/grill/vst/src/main.cpp,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** main.cpp 11 Mar 2005 04:58:01 -0000 1.22 --- main.cpp 12 Mar 2005 04:59:16 -0000 1.23 *************** *** 27,31 ****
! #define VST_VERSION "0.1.0pre19"
--- 27,31 ----
! #define VST_VERSION "0.1.0pre20"
*************** *** 309,312 **** --- 309,313 ---- }
+ static int corefs = 0;
vst::vst(int argc,const t_atom *argv): *************** *** 318,322 **** #if FLEXT_OS == FLEXT_OS_WIN // this is necessary for Waveshell ! CoInitializeEx(NULL,COINIT_MULTITHREADED+COINIT_SPEED_OVER_MEMORY); #endif
--- 319,323 ---- #if FLEXT_OS == FLEXT_OS_WIN // this is necessary for Waveshell ! if(!corefs++) CoInitializeEx(NULL,COINIT_MULTITHREADED+COINIT_SPEED_OVER_MEMORY); #endif
*************** *** 335,339 **** ClearPlug(); #if FLEXT_OS == FLEXT_OS_WIN ! CoUninitialize(); #endif } --- 336,340 ---- ClearPlug(); #if FLEXT_OS == FLEXT_OS_WIN ! if(!--corefs) CoUninitialize(); #endif }