Statistics
| Branch: | Revision:

chunker-player / chunker_player / player_defines.h @ 730c29f4

History | View | Annotate | Download (1.55 KB)

1 10c75ef7 GiuseppeTropea
#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 333348bb GiuseppeTropea
#define QUEUE_MAX_GROW_FACTOR 2
15 10c75ef7 GiuseppeTropea
#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 31e4e8ba GiuseppeTropea
#define STATS_FONT_FILE "stats_font.ttf"
47 569b286f GiuseppeTropea
#define STATS_FONT_SIZE 16
48 31e4e8ba GiuseppeTropea
#define STATS_BOX_HEIGHT 10
49 10c75ef7 GiuseppeTropea
50
#define RESTORE_SCREEN_ON_ZAPPING
51
52 333348bb GiuseppeTropea
//#define DEBUG_AUDIO
53
//#define DEBUG_VIDEO
54 19b05fc0 GiuseppeTropea
#define DEBUG_QUEUE
55 730c29f4 GiuseppeTropea
//#define DEBUG_QUEUE_DEEP
56 333348bb GiuseppeTropea
//#define DEBUG_SOURCE
57 730c29f4 GiuseppeTropea
#define DEBUG_STATS
58 333348bb GiuseppeTropea
//#define DEBUG_AUDIO_BUFFER
59
//#define DEBUG_CHUNKER
60 10c75ef7 GiuseppeTropea
61
#endif // _CHUNKER_PLAYER_DEFINES_H