diff options
author | Nils Wallménius <nils@rockbox.org> | 2012-05-08 16:34:26 +0200 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2012-05-09 14:32:38 +0200 |
commit | d29a11b7a8f4ce230e9385a44f352a559bde753f (patch) | |
tree | 6fb4dc1699be894e5495dd862941606442239bfc /apps/gui/skin_engine/skin_tokens.c | |
parent | d26a35d10b9e2f808b0e4880d5b5d1a2963258e9 (diff) | |
download | rockbox-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 'apps/gui/skin_engine/skin_tokens.c')
-rw-r--r-- | apps/gui/skin_engine/skin_tokens.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/gui/skin_engine/skin_tokens.c b/apps/gui/skin_engine/skin_tokens.c index 578a729bb3..b550a90073 100644 --- a/apps/gui/skin_engine/skin_tokens.c +++ b/apps/gui/skin_engine/skin_tokens.c | |||
@@ -125,7 +125,7 @@ char* get_dir(char* buf, int buf_size, const char* path, int level) | |||
125 | return buf; | 125 | return buf; |
126 | } | 126 | } |
127 | 127 | ||
128 | #if (CONFIG_CODEC != MAS3507D) && defined (HAVE_PITCHSCREEN) | 128 | #if (CONFIG_CODEC != MAS3507D) && defined (HAVE_PITCHCONTROL) |
129 | /* A helper to determine the enum value for pitch/speed. | 129 | /* A helper to determine the enum value for pitch/speed. |
130 | 130 | ||
131 | When there are two choices (i.e. boolean), return 1 if the value is | 131 | When there are two choices (i.e. boolean), return 1 if the value is |
@@ -1462,7 +1462,7 @@ const char *get_token_value(struct gui_wps *gwps, | |||
1462 | } | 1462 | } |
1463 | #endif /* (CONFIG_CODEC == SWCODEC) */ | 1463 | #endif /* (CONFIG_CODEC == SWCODEC) */ |
1464 | 1464 | ||
1465 | #if (CONFIG_CODEC != MAS3507D) && defined (HAVE_PITCHSCREEN) | 1465 | #if (CONFIG_CODEC != MAS3507D) && defined (HAVE_PITCHCONTROL) |
1466 | case SKIN_TOKEN_SOUND_PITCH: | 1466 | case SKIN_TOKEN_SOUND_PITCH: |
1467 | { | 1467 | { |
1468 | int32_t pitch = sound_get_pitch(); | 1468 | int32_t pitch = sound_get_pitch(); |
@@ -1477,7 +1477,7 @@ const char *get_token_value(struct gui_wps *gwps, | |||
1477 | } | 1477 | } |
1478 | #endif | 1478 | #endif |
1479 | 1479 | ||
1480 | #if (CONFIG_CODEC == SWCODEC) && defined (HAVE_PITCHSCREEN) | 1480 | #if (CONFIG_CODEC == SWCODEC) && defined (HAVE_PITCHCONTROL) |
1481 | case SKIN_TOKEN_SOUND_SPEED: | 1481 | case SKIN_TOKEN_SOUND_SPEED: |
1482 | { | 1482 | { |
1483 | int32_t pitch = sound_get_pitch(); | 1483 | int32_t pitch = sound_get_pitch(); |