Mercurial > audlegacy
diff src/audacious/effect.c @ 3486:96baf555b449 trunk
Get rid of "XMMS Multiple Effect Plugin support" hack. Effects processing is handled in produce_audio() now days.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Tue, 11 Sep 2007 05:14:38 -0500 |
parents | f6b25d4d2245 |
children | a73951b8cd9f |
line wrap: on
line diff
--- a/src/audacious/effect.c Mon Sep 10 17:14:45 2007 +0930 +++ b/src/audacious/effect.c Tue Sep 11 05:14:38 2007 -0500 @@ -35,7 +35,7 @@ NULL }; -static gint +gint effect_do_mod_samples(gpointer * data, gint length, AFormat fmt, gint srate, gint nch) { @@ -53,7 +53,7 @@ return length; } -static void +void effect_do_query_format(AFormat * fmt, gint * rate, gint * nch) { GList *l = ep_data.enabled_list; @@ -68,36 +68,6 @@ } } -static EffectPlugin pseudo_effect_plugin = { - NULL, - NULL, - "XMMS Multiple Effects Support", - NULL, - NULL, - NULL, - NULL, - TRUE, - effect_do_mod_samples, - effect_do_query_format -}; - -/* get_current_effect_plugin() and effects_enabled() are still to be used by - * output plugins as they were when we only supported one effects plugin at - * a time. We now had a pseudo-effects-plugin that chains all the enabled - * plugins. -- Jakdaw */ - -EffectPlugin * -get_current_effect_plugin(void) -{ - return &pseudo_effect_plugin; -} - -gboolean -effects_enabled(void) -{ - return TRUE; -} - GList * get_effect_enabled_list(void) {