From 8e3a06701a1c94001c2862c6020e8ec30e4e4f6f Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Thu, 6 Jul 2006 15:34:38 +0000 Subject: [PATCH] start lash thread only when jack is used and lash is enabled start lash thread only when jack is used and lash is enabled --- examples/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/utils.c b/examples/utils.c index f3d4db7e..9b342579 100644 --- a/examples/utils.c +++ b/examples/utils.c @@ -282,9 +282,9 @@ void examples_common_init(int argc,char ** argv) { lash_event_t * event = (lash_event_t *)lash_event_new_with_type(LASH_Client_Name); lash_event_set_string(event, "aubio"); lash_send_event(aubio_lash_client, event); + pthread_create(&lash_thread, NULL, lash_thread_main, NULL); } } - pthread_create(&lash_thread, NULL, lash_thread_main, NULL); #endif /* LASH_SUPPORT */ ibuf = new_fvec(overlap_size, channels); -- 2.26.2