From b3cfaffbe0124254f5da70857f6c1cec59184897 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Fri, 25 Mar 2005 04:55:11 +0000 Subject: small OSX things experimenting a bit.... clean handling of plugin deletion (potentially open editor window etc.) svn path=/trunk/; revision=2646 --- externals/grill/vst/src/editorwin.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'externals/grill/vst/src/editorwin.hpp') diff --git a/externals/grill/vst/src/editorwin.hpp b/externals/grill/vst/src/editorwin.hpp index 9d97771b..cbdd807f 100644 --- a/externals/grill/vst/src/editorwin.hpp +++ b/externals/grill/vst/src/editorwin.hpp @@ -56,7 +56,7 @@ static LRESULT CALLBACK wndproc(HWND hwnd,UINT msg,WPARAM wp,LPARAM lp) case WM_TIMER: // fall through case WM_ENTERIDLE: - plug->EditorIdle(); +// plug->EditorIdle(); break; #if 0 case WM_WINDOWPOSCHANGED: { @@ -225,7 +225,10 @@ static void threadfun(flext::thr_params *p) } else { TranslateMessage(&msg); +// double tm1 = flext::GetOSTime(); DispatchMessage(&msg); +// double tm2 = flext::GetOSTime(); +// if(tm2-tm1 > 0.01) FLEXT_LOG1("halt %lf",(tm2-tm1)*1000); } } -- cgit v1.2.1