diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2009-02-11 16:37:12 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2009-02-11 16:37:12 +0000 |
| commit | 548109084f739cf74d2263cbd136f82eb67ea9d5 (patch) | |
| tree | 65038ab71d12e0ee6cb236b518b0ccf3bb531c8c /apps/codecs.h | |
| parent | f2d5c3532fd21c04e77aa86732742b578283b697 (diff) | |
| download | rockbox-548109084f739cf74d2263cbd136f82eb67ea9d5.zip rockbox-548109084f739cf74d2263cbd136f82eb67ea9d5.tar.gz rockbox-548109084f739cf74d2263cbd136f82eb67ea9d5.tar.bz2 rockbox-548109084f739cf74d2263cbd136f82eb67ea9d5.tar.xz | |
Increase codec and plugin API version (due to changes it r19971), and sort the recently added things
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19973 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs.h')
| -rw-r--r-- | apps/codecs.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/codecs.h b/apps/codecs.h index c2358e1..631cf58 100644 --- a/apps/codecs.h +++ b/apps/codecs.h @@ -75,12 +75,12 @@ #define CODEC_ENC_MAGIC 0x52454E43 /* RENC */ /* increase this every time the api struct changes */ -#define CODEC_API_VERSION 31 +#define CODEC_API_VERSION 32 /* 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 30 +#define CODEC_MIN_API_VERSION 32 /* codec return codes */ enum codec_status { @@ -153,6 +153,9 @@ struct codec_api { void (*configure)(int setting, intptr_t value); /* kernel/ system */ +#ifdef CPU_ARM + void (*__div0)(void); +#endif void (*sleep)(int ticks); void (*yield)(void); @@ -233,9 +236,6 @@ struct codec_api { /* new stuff at the end, sort into place next time the API gets incompatible */ -#ifdef CPU_ARM - void (*__div0)(void); -#endif }; /* codec header */ |