summaryrefslogtreecommitdiff
path: root/apps/codecs.h
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-08-21 18:12:31 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-08-21 18:12:31 +0000
commit8a7d104a359aec7776712cb366d1d92e0f0328a8 (patch)
tree0e90f0cf6300cfa4cc14b258f379920626b50d1c /apps/codecs.h
parent6e291fdcdffbccc4663fd90462a4f9fce107aed1 (diff)
downloadrockbox-8a7d104a359aec7776712cb366d1d92e0f0328a8.tar.gz
rockbox-8a7d104a359aec7776712cb366d1d92e0f0328a8.zip
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
Diffstat (limited to 'apps/codecs.h')
-rw-r--r--apps/codecs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/codecs.h b/apps/codecs.h
index 3b8e1d8394..4a4ccb229c 100644
--- a/apps/codecs.h
+++ b/apps/codecs.h
@@ -79,7 +79,7 @@
79#endif 79#endif
80 80
81/* increase this every time the api struct changes */ 81/* increase this every time the api struct changes */
82#define CODEC_API_VERSION 40 82#define CODEC_API_VERSION 41
83 83
84/* update this to latest version if a change to the api struct breaks 84/* update this to latest version if a change to the api struct breaks
85 backwards compatibility (and please take the opportunity to sort in any 85 backwards compatibility (and please take the opportunity to sort in any
@@ -327,6 +327,8 @@ struct codec_api {
327 327
328 void *(*memchr)(const void *s1, int c, size_t n); 328 void *(*memchr)(const void *s1, int c, size_t n);
329 void (*set_offset)(unsigned int value); 329 void (*set_offset)(unsigned int value);
330 /* Codec should call this function when it has done the seeking. */
331 void (*seek_complete)(void);
330}; 332};
331 333
332/* defined by the codec loader (codec.c) */ 334/* defined by the codec loader (codec.c) */