summaryrefslogtreecommitdiff
path: root/setup.h
blob: 5d453de61efd17a92efa2857d89cd55691039d0f (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
 * setup.h
 */

#ifndef __SETUP_H
#define __SETUP_H

#include <vdr/menuitems.h>


struct setup_values {
    int start_type;
        int max_receivers;
        int min_free_space;

    int default_view;

        int pause;
        int max_postproc;
        int fade_in_mode;
        int fade_in;
        int fade_out_mode;
        int fade_out;
        int audio_codec;
        int num_audio_codecs;
        int bit_rate;
        int file_pattern;
        int upper;
        int copies;
};

extern struct setup_values SetupValues;

//#define NUM_CODECS  3
#define NUM_CODECS  2
extern const char *audio_codecs[NUM_CODECS];
extern const char *audio_codecs_translated[NUM_CODECS];

#define NUM_FADE_TYPES 3
extern const char *fade_types[NUM_FADE_TYPES];

#define NUM_VIEWS 4
extern const char *views[NUM_VIEWS];

#define NUM_FILE_PATTERNS 6
extern const char *file_patterns[NUM_FILE_PATTERNS];

class cAudiorecorderSetup : public cMenuSetupPage {
private:
        struct setup_values setupvalues;
protected:
        virtual void Store(void);
public:
        cAudiorecorderSetup(void);
};

#endif /* __SETUP_H */