1
0
Fork 0
forked from len0rd/rockbox

Now codecs will do the buffer flushing after seeking as they find it

necessary.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7369 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2005-08-21 18:12:31 +00:00
parent 6e291fdcdf
commit 8a7d104a35
4 changed files with 15 additions and 8 deletions

View file

@ -79,7 +79,7 @@
#endif
/* increase this every time the api struct changes */
#define CODEC_API_VERSION 40
#define CODEC_API_VERSION 41
/* update this to latest version if a change to the api struct breaks
backwards compatibility (and please take the opportunity to sort in any
@ -327,6 +327,8 @@ struct codec_api {
void *(*memchr)(const void *s1, int c, size_t n);
void (*set_offset)(unsigned int value);
/* Codec should call this function when it has done the seeking. */
void (*seek_complete)(void);
};
/* defined by the codec loader (codec.c) */