forked from len0rd/rockbox
Properly ifdef the pitchscreen settings as well (aka fix red Player build).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21789 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1a49df92be
commit
4c75ece14a
2 changed files with 6 additions and 2 deletions
|
@ -739,10 +739,12 @@ struct user_settings
|
||||||
struct touchscreen_parameter ts_calibration_data;
|
struct touchscreen_parameter ts_calibration_data;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_PITCHSCREEN
|
||||||
/* pitch screen settings */
|
/* pitch screen settings */
|
||||||
bool pitch_mode_semitone;
|
bool pitch_mode_semitone;
|
||||||
#if CONFIG_CODEC == SWCODEC
|
#if CONFIG_CODEC == SWCODEC
|
||||||
bool pitch_mode_timestretch;
|
bool pitch_mode_timestretch;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
/* If values are just added to the end, no need to bump plugin API
|
/* If values are just added to the end, no need to bump plugin API
|
||||||
version. */
|
version. */
|
||||||
|
|
|
@ -1528,12 +1528,14 @@ const struct settings_list settings[] = {
|
||||||
#endif
|
#endif
|
||||||
OFFON_SETTING(0, prevent_skip, LANG_PREVENT_SKIPPING, false, "prevent track skip", NULL),
|
OFFON_SETTING(0, prevent_skip, LANG_PREVENT_SKIPPING, false, "prevent track skip", NULL),
|
||||||
|
|
||||||
OFFON_SETTING(0, pitch_mode_semitone, LANG_SEMITONE, false,
|
#ifdef HAVE_PITCHSCREEN
|
||||||
|
OFFON_SETTING(0, pitch_mode_semitone, LANG_SEMITONE, false,
|
||||||
"Semitone pitch change", NULL),
|
"Semitone pitch change", NULL),
|
||||||
#if CONFIG_CODEC == SWCODEC
|
#if CONFIG_CODEC == SWCODEC
|
||||||
OFFON_SETTING(0, pitch_mode_timestretch, LANG_TIMESTRETCH, false,
|
OFFON_SETTING(0, pitch_mode_timestretch, LANG_TIMESTRETCH, false,
|
||||||
"Timestretch mode", NULL),
|
"Timestretch mode", NULL),
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue