summaryrefslogtreecommitdiff
path: root/codec.h
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2009-07-06 22:43:23 +0200
committerGravatar waker <wakeroid@gmail.com>2009-07-06 22:49:04 +0200
commit55cba1db948c3d6650a0d4162ffcd09ca73fe3a1 (patch)
tree534751d06881215854a7b15192983b5897e34c32 /codec.h
parent02ed1cff137002904fb1d1413315769a7b7083d8 (diff)
added GME support ; added subtune support
Diffstat (limited to 'codec.h')
-rw-r--r--codec.h3
1 files changed, 2 insertions, 1 deletions
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);