diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2007-04-18 07:41:31 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2007-04-18 07:41:31 +0000 |
commit | c3dcc87aa494934943769b70fd752af1271d196a (patch) | |
tree | 56cd61160f29c22ee3fa67ee9bc3e020013aa051 /apps/plugins/rockboy/sound.c | |
parent | 521d6a5e1f1dc3a08700b22db5b203920c9f3bda (diff) | |
download | rockbox-c3dcc87aa494934943769b70fd752af1271d196a.tar.gz rockbox-c3dcc87aa494934943769b70fd752af1271d196a.zip |
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.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/plugins/rockboy/sound.c b/apps/plugins/rockboy/sound.c index 707bb6b956..516b9c3f71 100644 --- a/apps/plugins/rockboy/sound.c +++ b/apps/plugins/rockboy/sound.c | |||
@@ -1,6 +1,3 @@ | |||
1 | |||
2 | |||
3 | |||
4 | #include "rockmacros.h" | 1 | #include "rockmacros.h" |
5 | #include "defs.h" | 2 | #include "defs.h" |
6 | #include "pcm.h" | 3 | #include "pcm.h" |
@@ -125,7 +122,6 @@ void sound_reset(void) | |||
125 | 122 | ||
126 | void sound_mix(void) | 123 | void sound_mix(void) |
127 | { | 124 | { |
128 | if(!options.sound) return; | ||
129 | int s, l, r, f, n; | 125 | int s, l, r, f, n; |
130 | 126 | ||
131 | if (!RATE || cpu.snd < RATE) return; | 127 | if (!RATE || cpu.snd < RATE) return; |