Statistics
| Branch: | Revision:

chunker-player / chunker_player / player_defines.h @ 10c75ef7

History | View | Annotate | Download (1.53 KB)

1
#ifndef _CHUNKER_PLAYER_DEFINES_H
2
#define _CHUNKER_PLAYER_DEFINES_H
3

    
4
#define PLAYER_FAIL_RETURN -1
5
#define PLAYER_OK_RETURN 0
6

    
7
#define MAX_CHANNELS_NUM 255
8

    
9
#define SDL_AUDIO_BUFFER_SIZE 1024
10

    
11
#define MAX_TOLLERANCE 40
12
#define AUDIO        1
13
#define VIDEO        2
14
#define QUEUE_MAX_SIZE 3000
15
#define LOSS_HISTORY_MAX_SIZE 100
16

    
17
#define FULLSCREEN_ICON_FILE "icons/fullscreen32.png"
18
#define NOFULLSCREEN_ICON_FILE "icons/nofullscreen32.png"
19
#define FULLSCREEN_HOVER_ICON_FILE "icons/fullscreen32.png"
20
#define NOFULLSCREEN_HOVER_ICON_FILE "icons/nofullscreen32.png"
21

    
22
#define CHANNEL_UP_ICON_FILE "icons/up_16.png"
23
#define CHANNEL_DOWN_ICON_FILE "icons/down_16.png"
24

    
25
#define DEFAULT_CHANNEL_EXEC_PATH "../OfferStreamer/"
26
#define DEFAULT_CHANNEL_EXEC_NAME "offerstreamer-ml-monl-http"
27
#define DEFAULT_CONF_FILENAME "channels.conf"
28

    
29
#define DEFAULT_WIDTH 704
30
#define DEFAULT_HEIGHT 576
31
#define DEFAULT_RATIO 1.22
32

    
33
#define BUTTONS_LAYER_OFFSET 10
34
#define BUTTONS_CONTAINER_HEIGHT 40
35
#define BUTTONS_CONTAINER_WIDTH 100
36

    
37
#define FULLSCREEN_BUTTON_INDEX 0
38
#define NO_FULLSCREEN_BUTTON_INDEX 1
39
#define CHANNEL_UP_BUTTON_INDEX 2
40
#define CHANNEL_DOWN_BUTTON_INDEX 3
41

    
42
#define NBUTTONS 4
43
#define MAIN_FONT_FILE "mainfont.ttf"
44
#define MAIN_FONT_SIZE 18
45

    
46
#define STATS_FONT_FILE "mainfont.ttf"
47
#define STATS_FONT_SIZE 14
48
#define STATS_BOX_HEIGHT 20
49

    
50
#define RESTORE_SCREEN_ON_ZAPPING
51

    
52
// #define DEBUG_AUDIO
53
// #define DEBUG_VIDEO
54
// #define DEBUG_QUEUE
55
// #define DEBUG_SOURCE
56
// #define DEBUG_STATS
57
//#define DEBUG_AUDIO_BUFFER
58
// #define DEBUG_CHUNKER
59

    
60
#endif // _CHUNKER_PLAYER_DEFINES_H