projects
/
aubio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b58c43
)
start lash thread only when jack is used and lash is enabled
author
Paul Brossier
<piem@altern.org>
Thu, 6 Jul 2006 15:34:38 +0000
(15:34 +0000)
committer
Paul Brossier
<piem@altern.org>
Thu, 6 Jul 2006 15:34:38 +0000
(15:34 +0000)
start lash thread only when jack is used and lash is enabled
examples/utils.c
patch
|
blob
|
history
diff --git
a/examples/utils.c
b/examples/utils.c
index f3d4db7e3cb71c5e5cd16909ad8de1fd3b9eec6d..9b3425799791484707269f2055382760e70f11ff 100644
(file)
--- 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);