diff options
Diffstat (limited to 'tests/test5/win_main.c')
-rw-r--r-- | tests/test5/win_main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test5/win_main.c b/tests/test5/win_main.c index f44c940..66b2c6b 100644 --- a/tests/test5/win_main.c +++ b/tests/test5/win_main.c @@ -23,6 +23,7 @@ GtkWidget *win_main_build() { //TODO : gtk_vumeter_set_min_max (GTK_VU_METER(vumeter), min, max); vumeter_sound = gtk_vu_meter_new (TRUE); + gtk_vu_meter_set_min_max(GTK_VU_METER(vumeter_sound), -600, 0); gtk_box_pack_start(GTK_BOX(hbox1), vumeter_sound, FALSE, FALSE, 0); vumeter_h = gtk_vu_meter_new (TRUE); @@ -60,6 +61,7 @@ GtkWidget *win_main_build() { } gboolean win_main_update_vumeters(gpointer vals) { + printf("%i\n", ((gint*)vals)[0]); gtk_vu_meter_set_level(GTK_VU_METER(vumeter_sound), ((gint*)vals)[0]); gtk_vu_meter_set_level(GTK_VU_METER(vumeter_h), ((gint*)vals)[1]); gtk_vu_meter_set_level(GTK_VU_METER(vumeter_s), ((gint*)vals)[2]); |