diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2007-06-24 16:00:55 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2007-06-24 16:00:55 +0000 |
commit | 78c45530fff6100240d08be77858350632000de9 (patch) | |
tree | 38d312e754cf87e1ea45ca1faf72fdd2d546fde2 /apps/plugins/rockboy/sound.h | |
parent | 16ca78db033f86c482cceb25dd1eee32aae2ecfc (diff) | |
download | rockbox-78c45530fff6100240d08be77858350632000de9.tar.gz rockbox-78c45530fff6100240d08be77858350632000de9.zip |
Sound improvements for rockboy - players now sync the sound (The gigabeat now plays at a steady 60 fps as long as the frameskip is set properly). If a new sample is not available a blank buffer is used. All devices use 44.1 kHz for gameboy sound now so no more high pitched sounds. Added a screen rotation option. Removed unscaled code for devices with a screensize smaller than the gameboy. All buttons are now configurable. Scroll wheel devices still have button configuration problems though.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13698 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/sound.h')
-rw-r--r-- | apps/plugins/rockboy/sound.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/plugins/rockboy/sound.h b/apps/plugins/rockboy/sound.h index fe3557cd7e..88897ef9ce 100644 --- a/apps/plugins/rockboy/sound.h +++ b/apps/plugins/rockboy/sound.h | |||
@@ -9,6 +9,7 @@ struct sndchan | |||
9 | unsigned pos; | 9 | unsigned pos; |
10 | int cnt, encnt, swcnt; | 10 | int cnt, encnt, swcnt; |
11 | int len, enlen, swlen; | 11 | int len, enlen, swlen; |
12 | int swfreq; | ||
12 | int freq; | 13 | int freq; |
13 | int envol, endir; | 14 | int envol, endir; |
14 | }; | 15 | }; |