From: Paul Brossier Date: Thu, 6 Jul 2006 15:34:38 +0000 (+0000) Subject: start lash thread only when jack is used and lash is enabled X-Git-Tag: bzr2git~643 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8e3a06701a1c94001c2862c6020e8ec30e4e4f6f;p=aubio.git start lash thread only when jack is used and lash is enabled start lash thread only when jack is used and lash is enabled --- 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);