annotate audacious/effect.c @ 0:cb178e5ad177 trunk

[svn] Import audacious source.
author nenolod
date Mon, 24 Oct 2005 03:06:47 -0700
parents
children f12d7e208b43
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
1 /* BMP - Cross-platform multimedia player
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
2 * Copyright (C) 2003-2004 BMP development team.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
3 *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
4 * Based on XMMS:
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
5 * Copyright (C) 1998-2003 XMMS development team.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
6 *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
7 * This program is free software; you can redistribute it and/or modify
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
8 * it under the terms of the GNU General Public License as published by
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
9 * the Free Software Foundation; either version 2 of the License, or
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
10 * (at your option) any later version.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
11 *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
12 * This program is distributed in the hope that it will be useful,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
15 * GNU General Public License for more details.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
16 *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
17 * You should have received a copy of the GNU General Public License
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
18 * along with this program; if not, write to the Free Software
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
19 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
20 */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
21
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
22 #include "effect.h"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
23
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
24 #include <glib.h>
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
25 #include <string.h>
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
26 #include "plugin.h"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
27
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
28 EffectPluginData ep_data = {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
29 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
30 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
31 FALSE,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
32 FALSE
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
33 };
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
34
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
35 static gint
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
36 effect_do_mod_samples(gpointer * data, gint length,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
37 AFormat fmt, gint srate, gint nch)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
38 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
39 GList *l = ep_data.enabled_list;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
40
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
41 while (l) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
42 if (l->data) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
43 EffectPlugin *ep = l->data;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
44 if (ep->mod_samples)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
45 length = ep->mod_samples(data, length, fmt, srate, nch);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
46 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
47 l = g_list_next(l);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
48 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
49
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
50 return length;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
51 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
52
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
53 static void
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
54 effect_do_query_format(AFormat * fmt, gint * rate, gint * nch)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
55 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
56 GList *l = ep_data.enabled_list;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
57
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
58 while (l) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
59 if (l->data) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
60 EffectPlugin *ep = l->data;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
61 if (ep->query_format)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
62 ep->query_format(fmt, rate, nch);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
63 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
64 l = g_list_next(l);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
65 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
66 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
67
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
68 static EffectPlugin pseudo_effect_plugin = {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
69 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
70 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
71 "XMMS Multiple Effects Support",
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
72 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
73 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
74 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
75 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
76 effect_do_mod_samples,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
77 effect_do_query_format
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
78 };
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
79
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
80 /* get_current_effect_plugin() and effects_enabled() are still to be used by
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
81 * output plugins as they were when we only supported one effects plugin at
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
82 * a time. We now had a pseudo-effects-plugin that chains all the enabled
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
83 * plugins. -- Jakdaw */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
84
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
85 EffectPlugin *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
86 get_current_effect_plugin(void)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
87 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
88 return &pseudo_effect_plugin;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
89 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
90
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
91 gboolean
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
92 effects_enabled(void)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
93 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
94 return TRUE;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
95 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
96
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
97 GList *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
98 get_effect_enabled_list(void)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
99 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
100 return ep_data.enabled_list;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
101 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
102
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
103 void
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
104 effect_about(int i)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
105 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
106 EffectPlugin *effect;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
107 GList *node = g_list_nth(ep_data.effect_list, i);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
108 if (node) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
109 effect = node->data;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
110 if (effect && effect->about)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
111 effect->about();
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
112 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
113 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
114
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
115 void
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
116 effect_configure(int i)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
117 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
118 GList *node = g_list_nth(ep_data.effect_list, i);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
119 EffectPlugin *effect;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
120 if (node) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
121 effect = node->data;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
122 if (effect && effect->configure)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
123 effect->configure();
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
124 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
125 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
126
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
127
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
128 void
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
129 enable_effect_plugin(int i, gboolean enable)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
130 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
131 GList *node = g_list_nth(ep_data.effect_list, i);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
132 EffectPlugin *ep;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
133
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
134 if (!node || !(node->data))
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
135 return;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
136 ep = node->data;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
137
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
138 if (enable && !g_list_find(ep_data.enabled_list, ep)) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
139 ep_data.enabled_list = g_list_append(ep_data.enabled_list, ep);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
140 if (ep->init)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
141 ep->init();
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
142 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
143 else if (!enable && g_list_find(ep_data.enabled_list, ep)) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
144 ep_data.enabled_list = g_list_remove(ep_data.enabled_list, ep);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
145 if (ep->cleanup)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
146 ep->cleanup();
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
147 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
148 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
149
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
150 GList *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
151 get_effect_list(void)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
152 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
153 return ep_data.effect_list;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
154 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
155
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
156 gboolean
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
157 effect_enabled(int i)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
158 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
159 return (g_list_find
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
160 (ep_data.enabled_list,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
161 (EffectPlugin *) g_list_nth(ep_data.effect_list,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
162 i)->data) ? TRUE : FALSE);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
163 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
164
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
165 gchar *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
166 effect_stringify_enabled_list(void)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
167 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
168 gchar *enalist = NULL, *temp, *temp2;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
169 GList *node = ep_data.enabled_list;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
170
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
171 if (g_list_length(node)) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
172 enalist =
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
173 g_strdup(g_basename(((EffectPlugin *) node->data)->filename));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
174 node = node->next;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
175 while (node) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
176 temp = enalist;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
177 temp2 =
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
178 g_strdup(g_basename(((EffectPlugin *) node->data)->filename));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
179 enalist = g_strconcat(temp, ",", temp2, NULL);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
180 g_free(temp);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
181 g_free(temp2);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
182 node = node->next;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
183 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
184 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
185 return enalist;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
186 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
187
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
188 void
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
189 effect_enable_from_stringified_list(const gchar * list)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
190 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
191 gchar **plugins, *base;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
192 GList *node;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
193 gint i;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
194 EffectPlugin *ep;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
195
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
196 if (!list || !strcmp(list, ""))
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
197 return;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
198 plugins = g_strsplit(list, ",", 0);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
199 for (i = 0; plugins[i]; i++) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
200 node = ep_data.effect_list;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
201 while (node) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
202 base =
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
203 g_path_get_basename((char *) ((EffectPlugin *) node->
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
204 data)->filename);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
205 if (!strcmp(plugins[i], base)) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
206 ep = node->data;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
207 ep_data.enabled_list =
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
208 g_list_append(ep_data.enabled_list, ep);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
209 if (ep->init)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
210 ep->init();
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
211 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
212 g_free(base);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
213 node = node->next;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
214 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
215 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
216 g_strfreev(plugins);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
217 }