1
0
Fork 0
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:
Jens Arnold 2009-07-11 21:21:33 +00:00
parent 1a49df92be
commit 4c75ece14a
2 changed files with 6 additions and 2 deletions

View file

@ -739,10 +739,12 @@ struct user_settings
struct touchscreen_parameter ts_calibration_data;
#endif
#ifdef HAVE_PITCHSCREEN
/* pitch screen settings */
bool pitch_mode_semitone;
#if CONFIG_CODEC == SWCODEC
bool pitch_mode_timestretch;
#endif
#endif
/* If values are just added to the end, no need to bump plugin API
version. */

View file

@ -1528,12 +1528,14 @@ const struct settings_list settings[] = {
#endif
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),
#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),
#endif
#endif
};