summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/mpeg_settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer/mpeg_settings.c')
-rw-r--r--apps/plugins/mpegplayer/mpeg_settings.c34
1 files changed, 18 insertions, 16 deletions
diff --git a/apps/plugins/mpegplayer/mpeg_settings.c b/apps/plugins/mpegplayer/mpeg_settings.c
index 3e83f8bc17..4b77518f54 100644
--- a/apps/plugins/mpegplayer/mpeg_settings.c
+++ b/apps/plugins/mpegplayer/mpeg_settings.c
@@ -178,25 +178,27 @@ struct mpeg_settings settings;
178 178
179static struct configdata config[] = 179static struct configdata config[] =
180{ 180{
181 {TYPE_INT, 0, 2, &settings.showfps, "Show FPS", NULL, NULL}, 181 {TYPE_INT, 0, 2, { .int_p = &settings.showfps }, "Show FPS", NULL},
182 {TYPE_INT, 0, 2, &settings.limitfps, "Limit FPS", NULL, NULL}, 182 {TYPE_INT, 0, 2, { .int_p = &settings.limitfps }, "Limit FPS", NULL},
183 {TYPE_INT, 0, 2, &settings.skipframes, "Skip frames", NULL, NULL}, 183 {TYPE_INT, 0, 2, { .int_p = &settings.skipframes }, "Skip frames", NULL},
184 {TYPE_INT, 0, INT_MAX, &settings.resume_count, "Resume count", 184 {TYPE_INT, 0, INT_MAX, { .int_p = &settings.resume_count }, "Resume count",
185 NULL, NULL}, 185 NULL},
186 {TYPE_INT, 0, MPEG_RESUME_NUM_OPTIONS, &settings.resume_options, 186 {TYPE_INT, 0, MPEG_RESUME_NUM_OPTIONS,
187 "Resume options", NULL, NULL}, 187 { .int_p = &settings.resume_options }, "Resume options", NULL},
188#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) 188#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200)
189 {TYPE_INT, 0, INT_MAX, &settings.displayoptions, "Display options", 189 {TYPE_INT, 0, INT_MAX, { .int_p = &settings.displayoptions },
190 NULL, NULL}, 190 "Display options", NULL},
191#endif 191#endif
192 {TYPE_INT, 0, 2, &settings.tone_controls, "Tone controls", NULL, NULL}, 192 {TYPE_INT, 0, 2, { .int_p = &settings.tone_controls }, "Tone controls",
193 {TYPE_INT, 0, 2, &settings.channel_modes, "Channel modes", NULL, NULL}, 193 NULL},
194 {TYPE_INT, 0, 2, &settings.crossfeed, "Crossfeed", NULL, NULL}, 194 {TYPE_INT, 0, 2, { .int_p = &settings.channel_modes }, "Channel modes",
195 {TYPE_INT, 0, 2, &settings.equalizer, "Equalizer", NULL, NULL}, 195 NULL},
196 {TYPE_INT, 0, 2, &settings.dithering, "Dithering", NULL, NULL}, 196 {TYPE_INT, 0, 2, { .int_p = &settings.crossfeed }, "Crossfeed", NULL},
197 {TYPE_INT, 0, 2, { .int_p = &settings.equalizer }, "Equalizer", NULL},
198 {TYPE_INT, 0, 2, { .int_p = &settings.dithering }, "Dithering", NULL},
197#ifdef HAVE_BACKLIGHT_BRIGHTNESS 199#ifdef HAVE_BACKLIGHT_BRIGHTNESS
198 {TYPE_INT, -1, INT_MAX, &settings.backlight_brightness, 200 {TYPE_INT, -1, INT_MAX, { .int_p = &settings.backlight_brightness },
199 "Backlight brightness", NULL, NULL}, 201 "Backlight brightness", NULL},
200#endif 202#endif
201}; 203};
202 204