diff src/madplug/replaygain.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 22c82f3c0411
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/madplug/replaygain.h	Mon Feb 05 12:28:01 2007 -0800
@@ -0,0 +1,44 @@
+/*
+ * 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
+ * Copyright (C) 2001-2007 Samuel Krempp
+ *
+ * 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
+ */
+
+#include "plugin.h"
+#include "stdlib.h"
+#include "math.h"
+#include "ctype.h"
+
+#ifndef __replaygain_h__
+#define __replaygain_h__
+
+struct APETagFooterStruct
+{
+    unsigned char ID[8];
+    unsigned char Version[4];
+    unsigned char Length[4];
+    unsigned char TagCount[4];
+    unsigned char Flags[4];
+    unsigned char Reserved[8];
+};
+
+/* prototypes */
+void input_read_replaygain(struct mad_info_t *file_info);
+
+#endif