summaryrefslogtreecommitdiff
path: root/apps/gui/skin_engine/skin_tokens.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/skin_engine/skin_tokens.c')
-rw-r--r--apps/gui/skin_engine/skin_tokens.c6
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();