diff options
| author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-06-22 02:47:54 +0000 |
|---|---|---|
| committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-06-22 02:47:54 +0000 |
| commit | ecf2f747edae9ffc3eb0057958da41915cbfac19 (patch) | |
| tree | 7aa2c608a86033351ca6eaaa3f1c00488ee59cfe /apps/plugin.h | |
| parent | 2f2b9eab4b44f35f4aa82cd9c61255debcfa2f03 (diff) | |
| download | rockbox-ecf2f747edae9ffc3eb0057958da41915cbfac19.zip rockbox-ecf2f747edae9ffc3eb0057958da41915cbfac19.tar.gz rockbox-ecf2f747edae9ffc3eb0057958da41915cbfac19.tar.bz2 rockbox-ecf2f747edae9ffc3eb0057958da41915cbfac19.tar.xz | |
Daniel's fix that loads codecs in their own memory space
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6794 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.h')
| -rw-r--r-- | apps/plugin.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index dbfdca5..94967c7 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -80,6 +80,14 @@ #endif +/* These three sizes must match the ones set in plugins/plugin.lds */ +#if MEM >= 32 +#define PLUGIN_BUFFER_SIZE 0xC0000 +#else +#define PLUGIN_BUFFER_SIZE 0x8000 +#endif +#define CODEC_BUFFER_SIZE 0x3C000 + #ifdef SIMULATOR #define PREFIX(_x_) sim_ ## _x_ #else |