summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/music2light.c4
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();