summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/mpeg_settings.h
blob: 690667f6321c9fb07d0b55dc1500f6d88d6c70ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

#include "plugin.h"

struct mpeg_settings {
    int showfps;               /* flag to display fps */
    int limitfps;              /* flag to limit fps */
    int skipframes;            /* flag to skip frames */
    int resume_count;          /* total # of resumes in config file */
    int resume_time;           /* resume time for current mpeg (in half minutes) */
    char resume_filename[128]; /* filename of current mpeg */

#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200)
    int displayoptions;
#endif
};

extern struct mpeg_settings settings;

int get_start_time(int play_time, int in_file);
int mpeg_start_menu(int play_time, int in_file);
bool mpeg_menu(void);
void init_settings(const char* filename);
void save_settings(void);
void clear_resume_count(void);