diff options
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 bf024c7e2e..1bfc861624 100644 --- a/apps/gui/skin_engine/skin_tokens.c +++ b/apps/gui/skin_engine/skin_tokens.c | |||
@@ -120,7 +120,7 @@ char* get_dir(char* buf, int buf_size, const char* path, int level) | |||
120 | return buf; | 120 | return buf; |
121 | } | 121 | } |
122 | 122 | ||
123 | #if (CONFIG_CODEC != MAS3507D) | 123 | #if (CONFIG_CODEC != MAS3507D) && defined (HAVE_PITCHSCREEN) |
124 | /* A helper to determine the enum value for pitch/speed. | 124 | /* A helper to determine the enum value for pitch/speed. |
125 | 125 | ||
126 | When there are two choices (i.e. boolean), return 1 if the value is | 126 | When there are two choices (i.e. boolean), return 1 if the value is |
@@ -1141,7 +1141,7 @@ const char *get_token_value(struct gui_wps *gwps, | |||
1141 | } | 1141 | } |
1142 | #endif /* (CONFIG_CODEC == SWCODEC) */ | 1142 | #endif /* (CONFIG_CODEC == SWCODEC) */ |
1143 | 1143 | ||
1144 | #if (CONFIG_CODEC != MAS3507D) | 1144 | #if (CONFIG_CODEC != MAS3507D) && defined (HAVE_PITCHSCREEN) |
1145 | case SKIN_TOKEN_SOUND_PITCH: | 1145 | case SKIN_TOKEN_SOUND_PITCH: |
1146 | { | 1146 | { |
1147 | int32_t pitch = sound_get_pitch(); | 1147 | int32_t pitch = sound_get_pitch(); |
@@ -1156,7 +1156,7 @@ const char *get_token_value(struct gui_wps *gwps, | |||
1156 | } | 1156 | } |
1157 | #endif | 1157 | #endif |
1158 | 1158 | ||
1159 | #if CONFIG_CODEC == SWCODEC | 1159 | #if (CONFIG_CODEC == SWCODEC) && defined (HAVE_PITCHSCREEN) |
1160 | case SKIN_TOKEN_SOUND_SPEED: | 1160 | case SKIN_TOKEN_SOUND_SPEED: |
1161 | { | 1161 | { |
1162 | int32_t pitch = sound_get_pitch(); | 1162 | int32_t pitch = sound_get_pitch(); |