comparison src/madplug/input.h @ 610:862190d39e00 trunk

[svn] - add madplug. It is not yet hooked up, I'll do that later.
author nenolod
date Mon, 05 Feb 2007 12:28:01 -0800
parents
children 3f7a52adfe0e
comparison
equal deleted inserted replaced
609:9b73eb35f4ff 610:862190d39e00
1 /*
2 * mad plugin for audacious
3 * Copyright (C) 2005-2007 William Pitcock, Yoshiki Yazawa
4 *
5 * Portions derived from xmms-mad:
6 * Copyright (C) 2001-2002 Sam Clegg - See COPYING
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; under version 2 of the License.
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
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 */
21
22 #ifndef INPUT_H
23 #define INPUT_H
24
25 #include "plugin.h"
26
27 gboolean input_init(struct mad_info_t *songinfo, const gchar * url);
28 gboolean input_term(struct mad_info_t *songinfo);
29 gboolean input_get_info(struct mad_info_t *songinfo, gboolean fast_scan);
30 gint input_get_data(struct mad_info_t *songinfo, guchar * buffer,
31 gint buffer_size);
32 gint input_udp_read();
33 gchar *input_id3_get_string(struct id3_tag *tag, char *frame_name);
34
35 #endif /* ! INPUT_H */