Mercurial > audlegacy
annotate audacious/visualization.h @ 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 | 329fb2453c87 |
rev | line source |
---|---|
0 | 1 /* BMP - Cross-platform multimedia player |
2 * Copyright (C) 2003-2004 BMP development team. | |
3 * | |
4 * Based on XMMS: | |
5 * Copyright (C) 1998-2003 XMMS development team. | |
6 * | |
7 * This program is free software; you can redistribute it and/or modify | |
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 | 10 * |
11 * This program is distributed in the hope that it will be useful, | |
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 * GNU General Public License for more details. | |
15 * | |
16 * You should have received a copy of the GNU General Public License | |
17 * along with this program; if not, write to the Free Software | |
1459 | 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
0 | 19 */ |
20 #ifndef VISUALIZATION_H | |
21 #define VISUALIZATION_H | |
22 | |
23 #include <glib.h> | |
24 | |
25 #include "plugin.h" | |
26 | |
27 typedef struct _VisPluginData VisPluginData; | |
28 | |
29 struct _VisPluginData { | |
30 GList *vis_list; | |
31 GList *enabled_list; | |
32 gboolean playback_started; | |
33 }; | |
34 | |
35 GList *get_vis_list(void); | |
36 GList *get_vis_enabled_list(void); | |
37 void enable_vis_plugin(gint i, gboolean enable); | |
38 void vis_disable_plugin(VisPlugin * vp); | |
39 void vis_about(gint i); | |
40 void vis_configure(gint i); | |
41 void vis_playback_start(void); | |
42 void vis_playback_stop(void); | |
43 gboolean vis_enabled(gint i); | |
44 gchar *vis_stringify_enabled_list(void); | |
45 void vis_enable_from_stringified_list(gchar * list); | |
46 void vis_send_data(gint16 pcm_data[2][512], gint nch, gint length); | |
47 | |
48 extern VisPluginData vp_data; | |
49 | |
50 #endif |