diff options
author | Alexander Levin <al.le@rockbox.org> | 2009-07-11 17:16:23 +0000 |
---|---|---|
committer | Alexander Levin <al.le@rockbox.org> | 2009-07-11 17:16:23 +0000 |
commit | 77651585134575d81c873d9392366b4bbe6fc18c (patch) | |
tree | 9c3e49f3561edc6574d8c44a6ae237e2c4848cdd /firmware/export/sound.h | |
parent | cc7c665d9b5e6d801f248799dabe05e3729bb1c8 (diff) | |
download | rockbox-77651585134575d81c873d9392366b4bbe6fc18c.tar.gz rockbox-77651585134575d81c873d9392366b4bbe6fc18c.zip |
Fix red in bootloaders
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21782 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/sound.h')
-rw-r--r-- | firmware/export/sound.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/export/sound.h b/firmware/export/sound.h index 674b2f6ae2..3d12a47db3 100644 --- a/firmware/export/sound.h +++ b/firmware/export/sound.h | |||
@@ -64,4 +64,11 @@ void sound_set_pitch(int32_t pitch); | |||
64 | int32_t sound_get_pitch(void); | 64 | int32_t sound_get_pitch(void); |
65 | #endif | 65 | #endif |
66 | 66 | ||
67 | #ifdef HAVE_PITCHSCREEN | ||
68 | /* precision of the pitch and speed variables */ | ||
69 | /* One zero per decimal (100 means two decimal places */ | ||
70 | #define PITCH_SPEED_PRECISION 100L | ||
71 | #define PITCH_SPEED_100 (100L * PITCH_SPEED_PRECISION) /* 100% speed */ | ||
72 | #endif /* HAVE_PITCHSCREEN */ | ||
73 | |||
67 | #endif | 74 | #endif |