diff options
| author | Michael Sevakis <jethead71@rockbox.org> | 2010-07-01 00:26:01 +0000 |
|---|---|---|
| committer | Michael Sevakis <jethead71@rockbox.org> | 2010-07-01 00:26:01 +0000 |
| commit | cf73340f1e85d3b39dc452d57e28d2a9a9081051 (patch) | |
| tree | 27a89d40fae023d994c7a59d3950f7af32dc00aa /apps/plugin.h | |
| parent | 10b8e327d8c0d37b8a9f1997e33e4bf1a97bb39b (diff) | |
| download | rockbox-cf73340f1e85d3b39dc452d57e28d2a9a9081051.zip rockbox-cf73340f1e85d3b39dc452d57e28d2a9a9081051.tar.gz rockbox-cf73340f1e85d3b39dc452d57e28d2a9a9081051.tar.bz2 rockbox-cf73340f1e85d3b39dc452d57e28d2a9a9081051.tar.xz | |
Enable game sounds in PacBox. Sound is OFF by default but can be enabled from the menu. Enable a function for SWCODEC in the middle of the plugin API, so plugins must be made incompatible (full update).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27202 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index b0f4e05..edad8c4 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -144,12 +144,12 @@ void* plugin_get_buffer(size_t *buffer_size); #define PLUGIN_MAGIC 0x526F634B /* RocK */ /* increase this every time the api struct changes */ -#define PLUGIN_API_VERSION 187 +#define PLUGIN_API_VERSION 188 /* 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 PLUGIN_MIN_API_VERSION 187 +#define PLUGIN_MIN_API_VERSION 188 /* plugin return codes */ enum plugin_status { @@ -782,12 +782,10 @@ struct plugin_api { const char *(*get_codec_filename)(int cod_spec); void ** (*find_array_ptr)(void **arr, void *ptr); int (*remove_array_ptr)(void **arr, void *ptr); -#if defined(HAVE_RECORDING) && (defined(HAVE_LINE_IN) || defined(HAVE_MIC_IN)) -int (*round_value_to_list32)(unsigned long value, - const unsigned long list[], - int count, - bool signd); -#endif + int (*round_value_to_list32)(unsigned long value, + const unsigned long list[], + int count, + bool signd); #endif /* CONFIG_CODEC == SWCODEC */ bool (*get_metadata)(struct mp3entry* id3, int fd, const char* trackname); bool (*mp3info)(struct mp3entry *entry, const char *filename); |