diff options
author | waker <wakeroid@gmail.com> | 2009-07-06 22:43:23 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2009-07-06 22:49:04 +0200 |
commit | 55cba1db948c3d6650a0d4162ffcd09ca73fe3a1 (patch) | |
tree | 534751d06881215854a7b15192983b5897e34c32 /codec.h | |
parent | 02ed1cff137002904fb1d1413315769a7b7083d8 (diff) |
added GME support ; added subtune support
Diffstat (limited to 'codec.h')
-rw-r--r-- | codec.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |