diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-10-23 13:13:00 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-10-23 13:13:00 +0000 |
commit | effceea22915a087c1c85ff30d2e62110413edaf (patch) | |
tree | 6f1340835c950d44fc521bb17ca022e151059762 /apps/codecs.h | |
parent | 188e898e3c40bafa472fa038167764ebcccf713d (diff) | |
download | rockbox-effceea22915a087c1c85ff30d2e62110413edaf.tar.gz rockbox-effceea22915a087c1c85ff30d2e62110413edaf.zip |
Remove the event object in the kernel since it's rather extraneous at the moment. This makes the codecs and the plugins incompatible, so update fully.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18867 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/codecs.h')
-rw-r--r-- | apps/codecs.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/apps/codecs.h b/apps/codecs.h index 6d8c1016a8..4194524e6d 100644 --- a/apps/codecs.h +++ b/apps/codecs.h | |||
@@ -82,12 +82,12 @@ | |||
82 | #define CODEC_ENC_MAGIC 0x52454E43 /* RENC */ | 82 | #define CODEC_ENC_MAGIC 0x52454E43 /* RENC */ |
83 | 83 | ||
84 | /* increase this every time the api struct changes */ | 84 | /* increase this every time the api struct changes */ |
85 | #define CODEC_API_VERSION 26 | 85 | #define CODEC_API_VERSION 27 |
86 | 86 | ||
87 | /* update this to latest version if a change to the api struct breaks | 87 | /* update this to latest version if a change to the api struct breaks |
88 | backwards compatibility (and please take the opportunity to sort in any | 88 | backwards compatibility (and please take the opportunity to sort in any |
89 | new function which are "waiting" at the end of the function table) */ | 89 | new function which are "waiting" at the end of the function table) */ |
90 | #define CODEC_MIN_API_VERSION 26 | 90 | #define CODEC_MIN_API_VERSION 27 |
91 | 91 | ||
92 | /* codec return codes */ | 92 | /* codec return codes */ |
93 | enum codec_status { | 93 | enum codec_status { |
@@ -175,9 +175,6 @@ struct codec_api { | |||
175 | void (*semaphore_init)(struct semaphore *s, int max, int start); | 175 | void (*semaphore_init)(struct semaphore *s, int max, int start); |
176 | void (*semaphore_wait)(struct semaphore *s); | 176 | void (*semaphore_wait)(struct semaphore *s); |
177 | void (*semaphore_release)(struct semaphore *s); | 177 | void (*semaphore_release)(struct semaphore *s); |
178 | void (*event_init)(struct event *e, unsigned int flags); | ||
179 | void (*event_wait)(struct event *e, unsigned int for_state); | ||
180 | void (*event_set_state)(struct event *e, unsigned int state); | ||
181 | #endif /* NUM_CORES */ | 178 | #endif /* NUM_CORES */ |
182 | 179 | ||
183 | #ifdef CACHE_FUNCTIONS_AS_CALL | 180 | #ifdef CACHE_FUNCTIONS_AS_CALL |