diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-03-29 06:36:53 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-03-29 06:36:53 +0000 |
commit | 4855e734f30229b03e1910440986a16ca798df58 (patch) | |
tree | 226a2243bb41a4f7643c0ec0bcb4e657973e923f /apps/codecs.h | |
parent | d746b793178cf3b55a1405bf97e07c2adeca9769 (diff) |
Move codec_get_file_pos somewhere else like the comment said should be done. Codec API version increment was needed so update all codecs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16874 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs.h')
-rw-r--r-- | apps/codecs.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/codecs.h b/apps/codecs.h index fb5675fd84..c543226935 100644 --- a/apps/codecs.h +++ b/apps/codecs.h @@ -80,12 +80,12 @@ #define CODEC_ENC_MAGIC 0x52454E43 /* RENC */ /* increase this every time the api struct changes */ -#define CODEC_API_VERSION 23 +#define CODEC_API_VERSION 24 /* update this to latest version if a change to the api struct breaks backwards compatibility (and please take the opportunity to sort in any new function which are "waiting" at the end of the function table) */ -#define CODEC_MIN_API_VERSION 23 +#define CODEC_MIN_API_VERSION 24 /* codec return codes */ enum codec_status { @@ -146,8 +146,6 @@ struct codec_api { bool (*seek_buffer)(size_t newpos); /* Codec should call this function when it has done the seeking. */ void (*seek_complete)(void); - /* Calculate mp3 seek position from given time data in ms. */ - off_t (*mp3_get_filepos)(int newtime); /* Request file change from file buffer. Returns true is next track is available and changed. If return value is false, codec should exit immediately with PLUGIN_OK status. */ |