diff audacious/visualization.c @ 1653:a6e6d3500c13 trunk

[svn] - revert back to r2216
author nenolod
date Thu, 07 Sep 2006 22:26:54 -0700
parents f3934d790a2e
children f18a5b617c34
line wrap: on
line diff
--- a/audacious/visualization.c	Thu Sep 07 22:00:35 2006 -0700
+++ b/audacious/visualization.c	Thu Sep 07 22:26:54 2006 -0700
@@ -32,7 +32,7 @@
 #include "playback.h"
 #include "plugin.h"
 #include "prefswin.h"
-#include "interface.h"
+#include "widgets/widgetcore.h"
 
 VisPluginData vp_data = {
     NULL,
@@ -280,15 +280,12 @@
     gint i;
 
     if (!pcm_data || nch < 1) {
-	current_interface->send_pcm_data(pcm_data, nch, length);
-#if 0
         if (cfg.vis_type != VIS_OFF) {
             if (cfg.player_shaded && cfg.player_visible)
                 svis_timeout_func(mainwin_svis, NULL);
             else
                 vis_timeout_func(active_vis, NULL);
         }
-#endif
         return;
     }
 
@@ -329,8 +326,6 @@
         node = g_list_next(node);
     }
 
-    current_interface->send_pcm_data(pcm_data, nch, length);
-#if 0
     if (cfg.vis_type == VIS_OFF)
         return;
 
@@ -439,5 +434,4 @@
         svis_timeout_func(mainwin_svis, intern_vis_data);
     else
         vis_timeout_func(active_vis, intern_vis_data);
-#endif
 }