From ab379f2bb081f3fe2ea77ed163f755f59a49e6cf Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Wed, 12 Apr 2017 01:04:15 +0900 Subject: added wave output --- gtk/toneview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gtk/toneview.c') diff --git a/gtk/toneview.c b/gtk/toneview.c index 614130b..64c4e98 100644 --- a/gtk/toneview.c +++ b/gtk/toneview.c @@ -42,7 +42,7 @@ gboolean tick_cb(GtkWidget *widget, GdkFrameClock *clock, gpointer ptr) { tonedata_ch_normalize_tl(&g.tonedata_n.ch[c]); } if (g.format != g.format_disp || - fmplayer_tonedata_channel_isequal(&g.tonedata_n.ch[c], &g.tonedata_n_disp.ch[c])) { + !fmplayer_tonedata_channel_isequal(&g.tonedata_n.ch[c], &g.tonedata_n_disp.ch[c])) { g.tonedata_n_disp.ch[c] = g.tonedata_n.ch[c]; tonedata_ch_string(g.format, g.strbuf, &g.tonedata_n.ch[c], 0); gtk_label_set_text(GTK_LABEL(g.label[c]), g.strbuf); -- cgit v1.2.3