diff options
author | Thom Johansen <thomj@rockbox.org> | 2005-10-27 11:32:02 +0000 |
---|---|---|
committer | Thom Johansen <thomj@rockbox.org> | 2005-10-27 11:32:02 +0000 |
commit | e6021381efa735fb583e0a1a8afd7957f70eff79 (patch) | |
tree | e800ccdcee9b9d0cbc102d064aa2fa3f8f91bf26 /apps | |
parent | c2628f3af96f4a2a539d3f179988251a8b6301db (diff) |
Introduced usage of IBSS_ATTR and ICONST_ATTR to codec plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7659 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/codecs/a52.c | 2 | ||||
-rw-r--r-- | apps/codecs/mpa.c | 10 | ||||
-rw-r--r-- | apps/codecs/mpc.c | 2 | ||||
-rw-r--r-- | apps/codecs/wavpack.c | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/apps/codecs/a52.c b/apps/codecs/a52.c index 05b9b2e5ab..c4d2d291ed 100644 --- a/apps/codecs/a52.c +++ b/apps/codecs/a52.c @@ -33,7 +33,7 @@ unsigned long samplesdone; unsigned long frequency; /* used outside liba52 */ -static uint8_t buf[3840] IDATA_ATTR; +static uint8_t buf[3840] IBSS_ATTR; void output_audio(sample_t *samples) { diff --git a/apps/codecs/mpa.c b/apps/codecs/mpa.c index 557274a637..45dff5c486 100644 --- a/apps/codecs/mpa.c +++ b/apps/codecs/mpa.c @@ -21,9 +21,9 @@ #include <codecs/libmad/mad.h> #include <inttypes.h> -struct mad_stream stream IDATA_ATTR; -struct mad_frame frame IDATA_ATTR; -struct mad_synth synth IDATA_ATTR; +struct mad_stream stream IBSS_ATTR; +struct mad_frame frame IBSS_ATTR; +struct mad_synth synth IBSS_ATTR; /* The following function is used inside libmad - let's hope it's never called. @@ -34,8 +34,8 @@ void abort(void) { #define INPUT_CHUNK_SIZE 8192 -mad_fixed_t mad_frame_overlap[2][32][18] IDATA_ATTR; -unsigned char mad_main_data[MAD_BUFFER_MDLEN] IDATA_ATTR; +mad_fixed_t mad_frame_overlap[2][32][18] IBSS_ATTR; +unsigned char mad_main_data[MAD_BUFFER_MDLEN] IBSS_ATTR; /* TODO: what latency does layer 1 have? */ int mpeg_latency[3] = { 0, 481, 529 }; diff --git a/apps/codecs/mpc.c b/apps/codecs/mpc.c index ea397e64a0..2e40303f64 100644 --- a/apps/codecs/mpc.c +++ b/apps/codecs/mpc.c @@ -62,7 +62,7 @@ bool canseek_impl(void *data) } /* temporary, we probably have better use for iram than this */ -MPC_SAMPLE_FORMAT sample_buffer[MPC_DECODER_BUFFER_LENGTH] IDATA_ATTR; +MPC_SAMPLE_FORMAT sample_buffer[MPC_DECODER_BUFFER_LENGTH] IBSS_ATTR; #ifdef USE_IRAM extern char iramcopy[]; diff --git a/apps/codecs/wavpack.c b/apps/codecs/wavpack.c index c3ea6c39d0..507678c0da 100644 --- a/apps/codecs/wavpack.c +++ b/apps/codecs/wavpack.c @@ -27,7 +27,7 @@ static struct codec_api *ci; #define BUFFER_SIZE 4096 -static long temp_buffer [BUFFER_SIZE] IDATA_ATTR; +static long temp_buffer [BUFFER_SIZE] IBSS_ATTR; static long read_callback (void *buffer, long bytes) { |