Sebastian Dröge | 8ad3f14 | 2009-08-08 21:17:37 +0200 | [diff] [blame] | 1 | /* 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üller | 9e1b75f | 2012-11-03 20:38:00 +0000 | [diff] [blame] | 15 | * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, |
| 16 | * Boston, MA 02110-1301, USA. |
Sebastian Dröge | 8ad3f14 | 2009-08-08 21:17:37 +0200 | [diff] [blame] | 17 | */ |
| 18 | |
Sebastian Dröge | 8ad3f14 | 2009-08-08 21:17:37 +0200 | [diff] [blame] | 19 | #include <glib.h> |
| 20 | |
| 21 | typedef 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 | |
| 34 | void spc_tag_clear(spc_tag_info* info); |
| 35 | void spc_tag_get_info(guchar* data, guint length, spc_tag_info* info); |
| 36 | void spc_tag_free(spc_tag_info* info); |