Mercurial > audlegacy
annotate audacious/input.h @ 1892:9d53c0faac1b trunk
[svn] - add --disable-rpath option to disable hardbinding an rpath to the audacious binaries
author | nenolod |
---|---|
date | Mon, 23 Oct 2006 11:42:56 -0700 |
parents | 705d4c089fce |
children | f18a5b617c34 |
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 | |
9 * the Free Software Foundation; either version 2 of the License, or | |
10 * (at your option) any later version. | |
11 * | |
12 * This program is distributed in the hope that it will be useful, | |
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 * GNU General Public License for more details. | |
16 * | |
17 * You should have received a copy of the GNU General Public License | |
18 * along with this program; if not, write to the Free Software | |
1459 | 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
0 | 20 */ |
21 | |
22 #ifndef INPUT_H | |
23 #define INPUT_H | |
24 | |
25 #include "plugin.h" | |
26 | |
27 typedef struct _InputPluginData InputPluginData; | |
28 | |
29 struct _InputPluginData { | |
30 GList *input_list; | |
31 InputPlugin *current_input_plugin; | |
32 gboolean playing; | |
33 gboolean paused; | |
890
ed26947bbf57
[svn] Gapless support. This comes with a few caveats, that I will mention here:
nenolod
parents:
355
diff
changeset
|
34 gboolean stop; |
1273
3b990c26fc46
[svn] - Support for the buffer indicator in playpaus.png that was apparently
nhjm449
parents:
1231
diff
changeset
|
35 gboolean buffering; |
143 | 36 GMutex *playback_mutex; |
0 | 37 }; |
38 | |
39 GList *get_input_list(void); | |
40 InputPlugin *get_current_input_plugin(void); | |
41 void set_current_input_plugin(InputPlugin * ip); | |
42 InputVisType input_get_vis_type(); | |
43 void free_vis_data(void); | |
355
1c701dfe5098
[svn] Cache the decoder used for each PlaylistEntry. This reduces the amount
nenolod
parents:
143
diff
changeset
|
44 InputPlugin *input_check_file(const gchar * filename, gboolean show_warning); |
1231 | 45 TitleInput *input_get_song_tuple(const gchar * filename); |
0 | 46 void input_play(gchar * filename); |
47 void input_stop(void); | |
48 void input_pause(void); | |
49 gint input_get_time(void); | |
50 void input_set_eq(gint on, gfloat preamp, gfloat * bands); | |
51 void input_seek(gint time); | |
52 void input_get_song_info(const gchar * filename, gchar ** title, | |
53 gint * length); | |
54 guchar *input_get_vis(gint time); | |
55 void input_update_vis_plugin(gint time); | |
56 gchar *input_get_info_text(void); | |
57 void input_about(gint index); | |
58 void input_configure(gint index); | |
59 void input_add_vis(gint time, guchar * s, InputVisType type); | |
60 void input_add_vis_pcm(gint time, AFormat fmt, gint nch, gint length, | |
61 gpointer ptr); | |
62 InputVisType input_get_vis_type(); | |
63 void input_update_vis(gint time); | |
64 | |
65 void input_set_info_text(const gchar * text); | |
1273
3b990c26fc46
[svn] - Support for the buffer indicator in playpaus.png that was apparently
nhjm449
parents:
1231
diff
changeset
|
66 void input_set_status_buffering(gboolean status); |
0 | 67 |
68 GList *input_scan_dir(const gchar * dir); | |
69 void input_get_volume(gint * l, gint * r); | |
70 void input_set_volume(gint l, gint r); | |
71 void input_file_info_box(const gchar * filename); | |
72 | |
73 void input_file_not_playable(const gchar * filename); | |
74 gboolean input_is_disabled(const gchar * filename); | |
75 gboolean input_is_enabled(const gchar * filename); | |
76 gchar *input_stringify_disabled_list(void); | |
77 | |
78 extern InputPluginData ip_data; | |
79 extern gchar *input_info_text; | |
80 | |
81 | |
82 #endif |