summaryrefslogtreecommitdiff
path: root/apps/plugins/pacbox
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2010-07-01 00:46:15 +0000
committerMichael Sevakis <jethead71@rockbox.org>2010-07-01 00:46:15 +0000
commit2cfa7ba7460f882d5bf2fe8f904fae5e572fecf3 (patch)
treeedec7efea274774b9573149700302b6b69a713b9 /apps/plugins/pacbox
parentcf73340f1e85d3b39dc452d57e28d2a9a9081051 (diff)
downloadrockbox-2cfa7ba7460f882d5bf2fe8f904fae5e572fecf3.tar.gz
rockbox-2cfa7ba7460f882d5bf2fe8f904fae5e572fecf3.zip
Fix r27202 red. MCF5249 plugin IRAM is already very occupied.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27203 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pacbox')
-rw-r--r--apps/plugins/pacbox/pacbox.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/plugins/pacbox/pacbox.c b/apps/plugins/pacbox/pacbox.c
index 9bbc00d094..8d44857666 100644
--- a/apps/plugins/pacbox/pacbox.c
+++ b/apps/plugins/pacbox/pacbox.c
@@ -279,7 +279,12 @@ static bool pacbox_menu(void)
279/* Sound is emulated in ISR context, so not much is done per sound frame */ 279/* Sound is emulated in ISR context, so not much is done per sound frame */
280#define NBSAMPLES 128 280#define NBSAMPLES 128
281static uint32_t sound_buf[NBSAMPLES]; 281static uint32_t sound_buf[NBSAMPLES];
282#if CONFIG_CPU == MCF5249
283/* Not enough to put this in IRAM */
284static int raw_buf[NBSAMPLES];
285#else
282static int raw_buf[NBSAMPLES] IBSS_ATTR; 286static int raw_buf[NBSAMPLES] IBSS_ATTR;
287#endif
283 288
284/* 289/*
285 Audio callback 290 Audio callback