diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/madplug/input.h	Mon Feb 05 12:28:01 2007 -0800
@@ -0,0 +1,35 @@
+/*
+ * mad plugin for audacious
+ * Copyright (C) 2005-2007 William Pitcock, Yoshiki Yazawa
+ *
+ * Portions derived from xmms-mad:
+ * Copyright (C) 2001-2002 Sam Clegg - See COPYING
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; under version 2 of the License.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+#ifndef INPUT_H
+#define INPUT_H
+
+#include "plugin.h"
+
+gboolean input_init(struct mad_info_t *songinfo, const gchar * url);
+gboolean input_term(struct mad_info_t *songinfo);
+gboolean input_get_info(struct mad_info_t *songinfo, gboolean fast_scan);
+gint input_get_data(struct mad_info_t *songinfo, guchar * buffer,
+                    gint buffer_size);
+gint input_udp_read();
+gchar *input_id3_get_string(struct id3_tag *tag, char *frame_name);
+
+#endif                          /* ! INPUT_H */