diff options
Diffstat (limited to 'apps/gui/gwps-common.c')
-rw-r--r-- | apps/gui/gwps-common.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/apps/gui/gwps-common.c b/apps/gui/gwps-common.c index cdfea80fd4..d0d46da837 100644 --- a/apps/gui/gwps-common.c +++ b/apps/gui/gwps-common.c | |||
@@ -1176,6 +1176,12 @@ static char *get_token_value(struct gui_wps *gwps, | |||
1176 | return buf; | 1176 | return buf; |
1177 | 1177 | ||
1178 | #if (CONFIG_CODEC == SWCODEC) | 1178 | #if (CONFIG_CODEC == SWCODEC) |
1179 | case WPS_TOKEN_CROSSFADE: | ||
1180 | if (intval) | ||
1181 | *intval = global_settings.crossfade + 1; | ||
1182 | snprintf(buf, buf_size, "%d", global_settings.crossfade); | ||
1183 | return buf; | ||
1184 | |||
1179 | case WPS_TOKEN_REPLAYGAIN: | 1185 | case WPS_TOKEN_REPLAYGAIN: |
1180 | { | 1186 | { |
1181 | int val; | 1187 | int val; |
@@ -1216,7 +1222,7 @@ static char *get_token_value(struct gui_wps *gwps, | |||
1216 | } | 1222 | } |
1217 | return buf; | 1223 | return buf; |
1218 | } | 1224 | } |
1219 | #endif | 1225 | #endif /* (CONFIG_CODEC == SWCODEC) */ |
1220 | 1226 | ||
1221 | #if (CONFIG_CODEC != MAS3507D) | 1227 | #if (CONFIG_CODEC != MAS3507D) |
1222 | case WPS_TOKEN_SOUND_PITCH: | 1228 | case WPS_TOKEN_SOUND_PITCH: |