annotate audacious/effect.c @ 2184:7d40f0a290b9 trunk

[svn] - break out string-related functions from util.c
author nenolod
date Wed, 20 Dec 2006 06:45:56 -0800
parents f18a5b617c34
children 86f0443d0de2
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
2105
f18a5b617c34 [svn] - move to GPLv2-only. Based on my interpretation of the license, we are
nenolod
parents: 1459
diff changeset
9 * the Free Software Foundation; under version 2 of the License.
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
10 *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
11 * This program is distributed in the hope that it will be useful,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
14 * GNU General Public License for more details.
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
15 *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
16 * You should have received a copy of the GNU General Public License
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
17 * along with this program; if not, write to the Free Software
1459
705d4c089fce [svn] Fix postal code.
chainsaw
parents: 1458
diff changeset
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
0
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
19 */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
20
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
21 #include "effect.h"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
22
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
23 #include <glib.h>
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
24 #include <string.h>
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
25 #include "plugin.h"
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
26
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
27 EffectPluginData ep_data = {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
28 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
29 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
30 FALSE,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
31 FALSE
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
32 };
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
33
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
34 static gint
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
35 effect_do_mod_samples(gpointer * data, gint length,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
36 AFormat fmt, gint srate, gint nch)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
37 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
38 GList *l = ep_data.enabled_list;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
39
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
40 while (l) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
41 if (l->data) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
42 EffectPlugin *ep = l->data;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
43 if (ep->mod_samples)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
44 length = ep->mod_samples(data, length, fmt, srate, nch);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
45 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
46 l = g_list_next(l);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
47 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
48
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
49 return length;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
50 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
51
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
52 static void
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
53 effect_do_query_format(AFormat * fmt, gint * rate, gint * nch)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
54 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
55 GList *l = ep_data.enabled_list;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
56
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
57 while (l) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
58 if (l->data) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
59 EffectPlugin *ep = l->data;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
60 if (ep->query_format)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
61 ep->query_format(fmt, rate, nch);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
62 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
63 l = g_list_next(l);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
64 }
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 static EffectPlugin pseudo_effect_plugin = {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
68 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
69 NULL,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
70 "XMMS Multiple Effects Support",
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
71 NULL,
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 effect_do_mod_samples,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
76 effect_do_query_format
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
77 };
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
78
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
79 /* get_current_effect_plugin() and effects_enabled() are still to be used by
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
80 * output plugins as they were when we only supported one effects plugin at
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
81 * a time. We now had a pseudo-effects-plugin that chains all the enabled
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
82 * plugins. -- Jakdaw */
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
83
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
84 EffectPlugin *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
85 get_current_effect_plugin(void)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
86 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
87 return &pseudo_effect_plugin;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
88 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
89
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
90 gboolean
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
91 effects_enabled(void)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
92 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
93 return TRUE;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
94 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
95
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
96 GList *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
97 get_effect_enabled_list(void)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
98 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
99 return ep_data.enabled_list;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
100 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
101
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
102 void
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
103 effect_about(int i)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
104 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
105 EffectPlugin *effect;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
106 GList *node = g_list_nth(ep_data.effect_list, i);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
107 if (node) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
108 effect = node->data;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
109 if (effect && effect->about)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
110 effect->about();
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
111 }
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 void
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
115 effect_configure(int i)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
116 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
117 GList *node = g_list_nth(ep_data.effect_list, i);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
118 EffectPlugin *effect;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
119 if (node) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
120 effect = node->data;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
121 if (effect && effect->configure)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
122 effect->configure();
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
123 }
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 void
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
128 enable_effect_plugin(int i, gboolean enable)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
129 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
130 GList *node = g_list_nth(ep_data.effect_list, i);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
131 EffectPlugin *ep;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
132
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
133 if (!node || !(node->data))
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
134 return;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
135 ep = node->data;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
136
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
137 if (enable && !g_list_find(ep_data.enabled_list, ep)) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
138 ep_data.enabled_list = g_list_append(ep_data.enabled_list, ep);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
139 if (ep->init)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
140 ep->init();
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
141 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
142 else if (!enable && g_list_find(ep_data.enabled_list, ep)) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
143 ep_data.enabled_list = g_list_remove(ep_data.enabled_list, ep);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
144 if (ep->cleanup)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
145 ep->cleanup();
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
146 }
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 GList *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
150 get_effect_list(void)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
151 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
152 return ep_data.effect_list;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
153 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
154
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
155 gboolean
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
156 effect_enabled(int i)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
157 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
158 return (g_list_find
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
159 (ep_data.enabled_list,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
160 (EffectPlugin *) g_list_nth(ep_data.effect_list,
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
161 i)->data) ? TRUE : FALSE);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
162 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
163
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
164 gchar *
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
165 effect_stringify_enabled_list(void)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
166 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
167 gchar *enalist = NULL, *temp, *temp2;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
168 GList *node = ep_data.enabled_list;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
169
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
170 if (g_list_length(node)) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
171 enalist =
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
172 g_strdup(g_basename(((EffectPlugin *) node->data)->filename));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
173 node = node->next;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
174 while (node) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
175 temp = enalist;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
176 temp2 =
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
177 g_strdup(g_basename(((EffectPlugin *) node->data)->filename));
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
178 enalist = g_strconcat(temp, ",", temp2, NULL);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
179 g_free(temp);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
180 g_free(temp2);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
181 node = node->next;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
182 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
183 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
184 return enalist;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
185 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
186
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
187 void
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
188 effect_enable_from_stringified_list(const gchar * list)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
189 {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
190 gchar **plugins, *base;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
191 GList *node;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
192 gint i;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
193 EffectPlugin *ep;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
194
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
195 if (!list || !strcmp(list, ""))
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
196 return;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
197 plugins = g_strsplit(list, ",", 0);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
198 for (i = 0; plugins[i]; i++) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
199 node = ep_data.effect_list;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
200 while (node) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
201 base =
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
202 g_path_get_basename((char *) ((EffectPlugin *) node->
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
203 data)->filename);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
204 if (!strcmp(plugins[i], base)) {
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
205 ep = node->data;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
206 ep_data.enabled_list =
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
207 g_list_append(ep_data.enabled_list, ep);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
208 if (ep->init)
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
209 ep->init();
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
210 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
211 g_free(base);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
212 node = node->next;
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
213 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
214 }
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
215 g_strfreev(plugins);
cb178e5ad177 [svn] Import audacious source.
nenolod
parents:
diff changeset
216 }