From 99617d71bad0e5870a38e37c8654e46868e2a5ba Mon Sep 17 00:00:00 2001 From: Michael Sevakis Date: Sun, 18 Nov 2007 17:12:19 +0000 Subject: Make speex the new voice format for SWCODEC targets (non-Archos). Remove codec swapping and build speex voice decoding directly into the core binary. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15668 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugin.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/plugin.h') diff --git a/apps/plugin.h b/apps/plugin.h index 75d8654..9123af4 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -568,7 +568,7 @@ struct plugin_api { void* (*plugin_get_audio_buffer)(size_t *buffer_size); void (*plugin_tsr)(bool (*exit_callback)(bool reenter)); char* (*plugin_get_current_filename)(void); -#ifdef IRAM_STEAL +#ifdef PLUGIN_USE_IRAM void (*plugin_iram_init)(char *iramstart, char *iramcopy, size_t iram_size, char *iedata, size_t iedata_size); #endif @@ -674,7 +674,7 @@ extern unsigned char plugin_end_addr[]; NULL, NULL, plugin_start }; #endif /* SIMULATOR */ -#ifdef USE_IRAM +#ifdef PLUGIN_USE_IRAM /* Declare IRAM variables */ #define PLUGIN_IRAM_DECLARE \ extern char iramcopy[]; \ @@ -689,13 +689,13 @@ extern unsigned char plugin_end_addr[]; #else #define PLUGIN_IRAM_DECLARE #define PLUGIN_IRAM_INIT(api) -#endif /* USE_IRAM */ +#endif /* PLUGIN_USE_IRAM */ #endif /* PLUGIN */ int plugin_load(const char* plugin, void* parameter); void* plugin_get_buffer(size_t *buffer_size); void* plugin_get_audio_buffer(size_t *buffer_size); -#ifdef IRAM_STEAL +#ifdef PLUGIN_USE_IRAM void plugin_iram_init(char *iramstart, char *iramcopy, size_t iram_size, char *iedata, size_t iedata_size); #endif -- cgit v1.1