debugging VST issues

git-svn-id: svn://localhost/ardour2/trunk@1427 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2007-02-06 18:30:55 +00:00
parent aa60114843
commit 1161fa8731

View File

@ -326,9 +326,17 @@ DWORD WINAPI gui_event_loop (LPVOID param)
fst_error ("cannot set timer on dummy window");
}
while (GetMessageA (&msg, NULL, 0,0)) {
while (true) {
GetMessageA (&msg, NULL, 0,0);
if (msg.message == WM_QUIT) {
cerr << "WM QUIT received\n";
break;
}
if( msg.message == WM_KEYDOWN ) debreak();
if (msg.message == WM_KEYDOWN) debreak();
TranslateMessage( &msg );
DispatchMessageA (&msg);
@ -336,7 +344,6 @@ DWORD WINAPI gui_event_loop (LPVOID param)
and run idle callbacks
*/
if( msg.message == WM_TIMER ) {
pthread_mutex_lock (&plugin_mutex);
again: