Blob Blame History Raw
diff -Nur audacious-plugin-fc-0.4-orig/src/configure.c audacious-plugin-fc-0.4/src/configure.c
--- audacious-plugin-fc-0.4-orig/src/configure.c	2009-06-07 15:25:53.000000000 +0200
+++ audacious-plugin-fc-0.4/src/configure.c	2010-06-12 19:51:06.000000000 +0200
@@ -1,5 +1,5 @@
 #include <audacious/configdb.h>
-#include <audacious/util.h>
+#include <audacious/plugin.h>
 #include <gtk/gtk.h>
 
 #include "configure.h"
diff -Nur audacious-plugin-fc-0.4-orig/src/Main.cpp audacious-plugin-fc-0.4/src/Main.cpp
--- audacious-plugin-fc-0.4-orig/src/Main.cpp	2009-10-23 17:21:56.000000000 +0200
+++ audacious-plugin-fc-0.4/src/Main.cpp	2010-06-12 19:51:06.000000000 +0200
@@ -22,7 +22,6 @@
 extern "C"
 {
 #include <audacious/plugin.h>
-#include <audacious/util.h>
 #include <glib.h>
 }
 
@@ -278,7 +277,7 @@
         {
             mixerFillBuffer(sampleBuf,sampleBufSize);
             if ( playback->playing && jumpToTime<0 )
-                playback->pass_audio(playback,myFormat.xmmsAFormat,myFormat.channels,sampleBufSize,sampleBuf,NULL);
+                playback->output->write_audio(sampleBuf,sampleBufSize);
             if ( FC_songEnd && jumpToTime<0 )
             {
                 playback->eof = TRUE;
diff -Nur audacious-plugin-fc-0.4-orig/src/plugin.c audacious-plugin-fc-0.4/src/plugin.c
--- audacious-plugin-fc-0.4-orig/src/plugin.c	2009-10-23 12:12:59.000000000 +0200
+++ audacious-plugin-fc-0.4/src/plugin.c	2010-06-12 19:51:06.000000000 +0200
@@ -20,7 +20,6 @@
     .init = ip_init,
     .about = fc_ip_about,
     .configure = fc_ip_configure,
-    .enabled = TRUE,
     .have_subtune = FALSE,
     .vfs_extensions = fc_fmts,
     .play_file = ip_play_file,