blob: ec51d7d3e4a35f6ba9b9e2510fee04361be571f7 [file] [log] [blame]
Sebastian Dröge8ad3f142009-08-08 21:17:37 +02001/* Copyright (C) 2007 Brian Koropoff <bkoropoff at gmail com>
2 *
3 * This library is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Library General Public
5 * License as published by the Free Software Foundation; either
6 * version 2 of the License, or (at your option) any later version.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Library General Public License for more details.
12 *
13 * You should have received a copy of the GNU Library General Public
14 * License along with this library; if not, write to the
Tim-Philipp Müller9e1b75f2012-11-03 20:38:00 +000015 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
16 * Boston, MA 02110-1301, USA.
Sebastian Dröge8ad3f142009-08-08 21:17:37 +020017 */
18
Sebastian Dröge8ad3f142009-08-08 21:17:37 +020019#include <glib.h>
20
21typedef struct
22{
23 gchar *title, *game, *artist, *album, *publisher;
24 gchar *dumper, *comment;
25 enum { EMU_SNES9X = 2, EMU_ZSNES = 1, EMU_UNKNOWN = 0 } emulator;
26 guint8 track, disc, muted, loop_count;
27 guint16 year;
28 guint32 time_seconds, time_fade_milliseconds;
29 guint32 time_intro, time_loop, time_end, time_fade;
30 guint32 amplification;
31 GDate *dump_date;
32} spc_tag_info;
33
34void spc_tag_clear(spc_tag_info* info);
35void spc_tag_get_info(guchar* data, guint length, spc_tag_info* info);
36void spc_tag_free(spc_tag_info* info);