From 77651585134575d81c873d9392366b4bbe6fc18c Mon Sep 17 00:00:00 2001 From: Alexander Levin Date: Sat, 11 Jul 2009 17:16:23 +0000 Subject: Fix red in bootloaders git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21782 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/sound.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'firmware/export/sound.h') 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); int32_t sound_get_pitch(void); #endif +#ifdef HAVE_PITCHSCREEN +/* precision of the pitch and speed variables */ +/* One zero per decimal (100 means two decimal places */ +#define PITCH_SPEED_PRECISION 100L +#define PITCH_SPEED_100 (100L * PITCH_SPEED_PRECISION) /* 100% speed */ +#endif /* HAVE_PITCHSCREEN */ + #endif -- cgit v1.2.3