From 55cba1db948c3d6650a0d4162ffcd09ca73fe3a1 Mon Sep 17 00:00:00 2001 From: waker Date: Mon, 6 Jul 2009 22:43:23 +0200 Subject: added GME support ; added subtune support --- codec.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'codec.h') diff --git a/codec.h b/codec.h index c2e66caf..fc8e4870 100644 --- a/codec.h +++ b/codec.h @@ -13,11 +13,12 @@ typedef struct { typedef struct codec_s { fileinfo_t info; - int (*init) (const char *fname); + int (*init) (const char *fname, int track, float start, float end); void (*free) (void); // player is responsible for starting next song if -1 is returned int (*read) (char *bytes, int size); int (*seek) (float time); + int (*add) (const char *fname); } codec_t; codec_t *get_codec_for_file (const char *fname); -- cgit v1.2.3