diff options
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); |