summaryrefslogtreecommitdiff
path: root/libs/fst
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-03-17 12:30:22 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-03-17 12:30:22 +0000
commit53e0635a8eb1d6d1e19bbb7266e4a8f3864a338b (patch)
tree06953d7efe8cf237b35a1283ef1ce1dcc4e53fc2 /libs/fst
parent65c3f4c88c8f36820cd70fda21df35aef32931d9 (diff)
clean up some FST debugging output
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4862 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/fst')
-rw-r--r--libs/fst/thread.c11
-rw-r--r--libs/fst/vstwin.c8
2 files changed, 2 insertions, 17 deletions
diff --git a/libs/fst/thread.c b/libs/fst/thread.c
index 2c1fa2e9ec..5be37b7a77 100644
--- a/libs/fst/thread.c
+++ b/libs/fst/thread.c
@@ -17,8 +17,6 @@ fake_thread_proxy (LPVOID parameter)
{
real_thread_info_t* rti = (real_thread_info_t*) parameter;
- fprintf (stderr, "WINDOWS THREAD, @ pthread = %p\n", pthread_self());
-
pthread_mutex_lock (&rti->init_lock);
rti->thread_id = pthread_self();
pthread_cond_signal (&rti->init_cond);
@@ -46,8 +44,6 @@ wine_pthread_create (pthread_t* thread_id, const pthread_attr_t* attr, void *(*f
DWORD tid;
size_t stack_size;
- fprintf (stderr, "****** Lets make a windows pthread\n");
-
real_thread_info_t* rti = (real_thread_info_t*) malloc (sizeof (real_thread_info_t));
rti->thread_function = function;
@@ -56,15 +52,11 @@ wine_pthread_create (pthread_t* thread_id, const pthread_attr_t* attr, void *(*f
rti->attr = *attr;
}
- fprintf (stderr, "\tset up the locks\n");
-
pthread_mutex_init (&rti->init_lock, NULL);
pthread_cond_init (&rti->init_cond, NULL);
pthread_mutex_lock (&rti->init_lock);
- fprintf (stderr, "\tget the stacksize\n");
-
if (attr) {
if (pthread_attr_getstacksize (attr, &stack_size) != 0) {
stack_size = 0;
@@ -73,15 +65,12 @@ wine_pthread_create (pthread_t* thread_id, const pthread_attr_t* attr, void *(*f
stack_size = 0;
}
- fprintf (stderr, "\tget that sucker started in the proxy, stacksize = %u\n", stack_size);
-
if (CreateThread (0, stack_size, fake_thread_proxy, rti, 0, &tid) == NULL) {
return -1;
}
pthread_cond_wait (&rti->init_cond, &rti->init_lock);
pthread_mutex_unlock (&rti->init_lock);
- fprintf (stderr, "\tlet it run\n");
*thread_id = rti->thread_id;
diff --git a/libs/fst/vstwin.c b/libs/fst/vstwin.c
index 9a3849b98a..72c578fe42 100644
--- a/libs/fst/vstwin.c
+++ b/libs/fst/vstwin.c
@@ -184,7 +184,6 @@ again:
/* condition/unlock: it was signalled & unlocked in fst_create_editor() */
}
if(fst->want_program != -1 ) {
- fprintf (stderr, "switching to program %d\n", fst->want_program);
fst->plugin->dispatcher (fst->plugin, effSetProgram, 0, fst->want_program, NULL, 0);
fst->want_program = -1;
}
@@ -212,7 +211,6 @@ again:
pthread_mutex_unlock (&plugin_mutex);
}
}
- fprintf (stderr, "VST GUI EVENT LOOP THREAD EXIT\n");
return 0;
}
@@ -380,9 +378,7 @@ fst_create_editor (FST* fst)
//SetWindowPos (fst->window, 0, 0, 0, er->right-er->left+8, er->bottom-er->top+26, SWP_NOMOVE|SWP_NOZORDER);
fst->xid = (int) GetPropA (window, "__wine_x11_whole_window");
- printf( "And xid = %x\n", fst->xid );
fst->been_activated = TRUE;
- printf ("Signalling window ready\n");
pthread_cond_signal (&fst->window_status_change);
pthread_mutex_unlock (&fst->lock);
@@ -393,8 +389,8 @@ void
fst_move_window_into_view (FST* fst)
{
if (fst->window) {
- SetWindowPos (fst->window, 0, 0, 0, fst->width, fst->height+24, 0);
- ShowWindow (fst->window, SW_SHOWNA);
+ SetWindowPos (fst->window, 0, 0, 0, fst->width, fst->height+24, 0);
+ ShowWindow (fst->window, SW_SHOWNA);
}
}