diff options
author | Michael Giacomelli <giac2000@hotmail.com> | 2008-09-20 22:13:39 +0000 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2008-09-20 22:13:39 +0000 |
commit | ccd56bf22069ecb8f228dea0738c1ae2eba04a39 (patch) | |
tree | 39995332648c15044d20db7b771c3b726c4f0e51 /apps/plugin.h | |
parent | 4e36a2b991d58a40d7ea12c9bf41e93736b8b024 (diff) | |
download | rockbox-ccd56bf22069ecb8f228dea0738c1ae2eba04a39.tar.gz rockbox-ccd56bf22069ecb8f228dea0738c1ae2eba04a39.zip |
Fix test_codec on multiprocessor codecs (MP3, SPC).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18558 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index 1f7cfa28ef..6dd81caf7e 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -130,7 +130,7 @@ void* plugin_get_buffer(size_t *buffer_size); | |||
130 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 130 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
131 | 131 | ||
132 | /* increase this every time the api struct changes */ | 132 | /* increase this every time the api struct changes */ |
133 | #define PLUGIN_API_VERSION 123 | 133 | #define PLUGIN_API_VERSION 124 |
134 | 134 | ||
135 | /* update this to latest version if a change to the api struct breaks | 135 | /* update this to latest version if a change to the api struct breaks |
136 | backwards compatibility (and please take the opportunity to sort in any | 136 | backwards compatibility (and please take the opportunity to sort in any |
@@ -763,6 +763,15 @@ struct plugin_api { | |||
763 | char *buf, int buflen); | 763 | char *buf, int buflen); |
764 | #endif | 764 | #endif |
765 | 765 | ||
766 | void (*thread_thaw)(struct thread_entry *thread); | ||
767 | void (*semaphore_init)(struct semaphore *s, int max, int start); | ||
768 | void (*semaphore_wait)(struct semaphore *s); | ||
769 | void (*semaphore_release)(struct semaphore *s); | ||
770 | void (*event_init)(struct event *e, unsigned int flags); | ||
771 | void (*event_wait)(struct event *e, unsigned int for_state); | ||
772 | void (*event_set_state)(struct event *e, unsigned int state); | ||
773 | |||
774 | |||
766 | /* new stuff at the end, sort into place next time | 775 | /* new stuff at the end, sort into place next time |
767 | the API gets incompatible */ | 776 | the API gets incompatible */ |
768 | 777 | ||