Mercurial > audlegacy
diff src/audacious/plugin.h @ 4281:3c673b6803c1
Remove legacy XMMS format conversion API. We have a new audio engine which does this the correct way.
| author | William Pitcock <nenolod@atheme.org> |
|---|---|
| date | Tue, 12 Feb 2008 01:20:32 -0600 |
| parents | 2b7a74fce100 |
| children | fe09acacd473 |
line wrap: on
line diff
--- a/src/audacious/plugin.h Mon Feb 11 04:05:26 2008 -0600 +++ b/src/audacious/plugin.h Tue Feb 12 01:20:32 2008 -0600 @@ -157,7 +157,6 @@ #include "audacious/mime.h" #include "audacious/custom_uri.h" #include "audacious/hook.h" -#include "audacious/xconvert.h" #include "audacious/ui_plugin_menu.h" #include "audacious/formatter.h" #include "audacious/flow.h" @@ -524,17 +523,6 @@ gint (*hook_dissociate)(const gchar *name, HookFunction func); void (*hook_call)(const gchar *name, gpointer hook_data); - /* xconvert API */ - struct xmms_convert_buffers *(*xmms_convert_buffers_new)(void); - void (*xmms_convert_buffers_free)(struct xmms_convert_buffers *buf); - void (*xmms_convert_buffers_destroy)(struct xmms_convert_buffers *buf); - convert_func_t (*xmms_convert_get_func)(AFormat output, AFormat input); - convert_channel_func_t (*xmms_convert_get_channel_func)(AFormat fmt, - int output, - int input); - convert_freq_func_t (*xmms_convert_get_frequency_func)(AFormat fmt, - int channels); - /* PluginMenu API */ gint (*menu_plugin_item_add)(gint, GtkWidget *); gint (*menu_plugin_item_remove)(gint, GtkWidget *); @@ -883,13 +871,6 @@ #define aud_read_ini_string _audvt->read_ini_string #define aud_read_ini_array _audvt->read_ini_array -#define aud_convert_buffers_new _audvt->xmms_convert_buffers_new -#define aud_convert_buffers_free _audvt->xmms_convert_buffers_free -#define aud_convert_buffers_destroy _audvt->xmms_convert_buffers_destroy -#define aud_convert_get_func _audvt->xmms_convert_get_func -#define aud_convert_get_channel_func _audvt->xmms_convert_get_channel_func -#define aud_convert_get_frequency_func _audvt->xmms_convert_get_frequency_func - #define audacious_menu_plugin_item_add _audvt->menu_plugin_item_add #define audacious_menu_plugin_item_remove _audvt->menu_plugin_item_remove #define aud_menu_plugin_item_add _audvt->menu_plugin_item_add
