summaryrefslogtreecommitdiff
path: root/apps/settings.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.h')
-rw-r--r--apps/settings.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/settings.h b/apps/settings.h
index eba592aca8..4ab2d8945d 100644
--- a/apps/settings.h
+++ b/apps/settings.h
@@ -339,6 +339,7 @@ struct user_settings
#endif
#if CONFIG_CODEC == SWCODEC
+#ifdef HAVE_CROSSFADE
/* Crossfade */
int crossfade; /* Enable crossfade (0=off, 1=shuffle, 2=trackskip,
3=shuff&trackskip, 4=always) */
@@ -347,6 +348,7 @@ struct user_settings
int crossfade_fade_in_duration; /* Fade in duration (0-15s) */
int crossfade_fade_out_duration; /* Fade out duration (0-15s) */
int crossfade_fade_out_mixmode; /* Fade out mode (0=crossfade,1=mix) */
+#endif
/* Replaygain */
bool replaygain_noclip; /* scale to prevent clips */