summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/sound.c
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2007-04-18 07:41:31 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2007-04-18 07:41:31 +0000
commitc3dcc87aa494934943769b70fd752af1271d196a (patch)
tree56cd61160f29c22ee3fa67ee9bc3e020013aa051 /apps/plugins/rockboy/sound.c
parent521d6a5e1f1dc3a08700b22db5b203920c9f3bda (diff)
downloadrockbox-c3dcc87aa494934943769b70fd752af1271d196a.zip
rockbox-c3dcc87aa494934943769b70fd752af1271d196a.tar.gz
rockbox-c3dcc87aa494934943769b70fd752af1271d196a.tar.bz2
rockbox-c3dcc87aa494934943769b70fd752af1271d196a.tar.xz
Allow rockboy to run while music is playing with smaller roms. Works on players that do not use the IRAM macros. Only tested on the Gigabeat as I think that is the only player that will run rockboy well with music. Also simplified the sound and reduced the code size a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13199 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/sound.c')
-rw-r--r--apps/plugins/rockboy/sound.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/plugins/rockboy/sound.c b/apps/plugins/rockboy/sound.c
index 707bb6b..516b9c3 100644
--- a/apps/plugins/rockboy/sound.c
+++ b/apps/plugins/rockboy/sound.c
@@ -1,6 +1,3 @@
-
-
-
#include "rockmacros.h"
#include "defs.h"
#include "pcm.h"
@@ -125,7 +122,6 @@ void sound_reset(void)
void sound_mix(void)
{
- if(!options.sound) return;
int s, l, r, f, n;
if (!RATE || cpu.snd < RATE) return;