summaryrefslogtreecommitdiff
path: root/firmware/export/sound.h
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2012-05-08 16:34:26 +0200
committerNils Wallménius <nils@rockbox.org>2012-05-09 14:32:38 +0200
commitd29a11b7a8f4ce230e9385a44f352a559bde753f (patch)
tree6fb4dc1699be894e5495dd862941606442239bfc /firmware/export/sound.h
parentd26a35d10b9e2f808b0e4880d5b5d1a2963258e9 (diff)
downloadrockbox-d29a11b7a8f4ce230e9385a44f352a559bde753f.tar.gz
rockbox-d29a11b7a8f4ce230e9385a44f352a559bde753f.zip
Rename HAVE_PITCHSCREEN to HAVE_PITCHCONTROL
Also move the definition to config.h Change-Id: I36bb5020c5e06b2344292bc05e8c13ccc7a6a1ff Reviewed-on: http://gerrit.rockbox.org/234 Reviewed-by: Nils Wallménius <nils@rockbox.org>
Diffstat (limited to 'firmware/export/sound.h')
-rw-r--r--firmware/export/sound.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/export/sound.h b/firmware/export/sound.h
index 7243f48e79..ba6120ce8f 100644
--- a/firmware/export/sound.h
+++ b/firmware/export/sound.h
@@ -138,11 +138,11 @@ void sound_set_pitch(int32_t pitch);
138int32_t sound_get_pitch(void); 138int32_t sound_get_pitch(void);
139#endif 139#endif
140 140
141#ifdef HAVE_PITCHSCREEN 141#ifdef HAVE_PITCHCONTROL
142/* precision of the pitch and speed variables */ 142/* precision of the pitch and speed variables */
143/* One zero per decimal (100 means two decimal places */ 143/* One zero per decimal (100 means two decimal places */
144#define PITCH_SPEED_PRECISION 100L 144#define PITCH_SPEED_PRECISION 100L
145#define PITCH_SPEED_100 (100L * PITCH_SPEED_PRECISION) /* 100% speed */ 145#define PITCH_SPEED_100 (100L * PITCH_SPEED_PRECISION) /* 100% speed */
146#endif /* HAVE_PITCHSCREEN */ 146#endif /* HAVE_PITCHCONTROL */
147 147
148#endif 148#endif