diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2012-06-17 10:30:49 +0000 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2012-06-17 10:30:49 +0000 |
commit | 71dad10fdabd700f036893c725f02c9b4b4ac49b (patch) | |
tree | 4dc1f41e66c641ec963b3512ec6e729782d37353 /src | |
parent | 4e5e5f8f6a59be55b0eba83c8128011ef24ca8ff (diff) | |
download | 2012-violon-leds-71dad10fdabd700f036893c725f02c9b4b4ac49b.tar.gz 2012-violon-leds-71dad10fdabd700f036893c725f02c9b4b4ac49b.tar.bz2 2012-violon-leds-71dad10fdabd700f036893c725f02c9b4b4ac49b.zip |
Correction problème initialisation DMX (race condition)
git-svn-id: file:///var/svn/2012-violon-leds/trunk@23 6be1fa4d-33ac-4c33-becc-79fcb3794bb6
Diffstat (limited to 'src')
-rw-r--r-- | src/music2light.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/music2light.c b/src/music2light.c index 18e6713..b82525b 100644 --- a/src/music2light.c +++ b/src/music2light.c @@ -33,13 +33,13 @@ int main (int argc, char **argv) { mainwin=win_main_build(); gtk_widget_show_all (mainwin); + dmx_init(); + printf("debug : main my_process==%p\n", my_process); printf("debug : main (void *)my_process==%p\n", (void *)my_process); pthread_create (&audio_analyzer, (void *)NULL, (void *)audio_thread, (void *)my_process); g_timeout_add (25, win_main_update_vumeters, (gpointer)vals_for_vumeters); - dmx_init(); - gtk_main (); gdk_threads_leave(); |