-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy pathmod-host.h
More file actions
126 lines (103 loc) · 4.83 KB
/
Copy pathmod-host.h
File metadata and controls
126 lines (103 loc) · 4.83 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
/*
* This file is part of mod-host.
*
* mod-host is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* mod-host is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with mod-host. If not, see <http://www.gnu.org/licenses/>.
*
*/
/*
************************************************************************************************************************
*
************************************************************************************************************************
*/
#ifndef MOD_HOST_H
#define MOD_HOST_H
/*
************************************************************************************************************************
* INCLUDE FILES
************************************************************************************************************************
*/
/*
************************************************************************************************************************
* DO NOT CHANGE THESE DEFINES
************************************************************************************************************************
*/
/*
************************************************************************************************************************
* CONFIGURATION DEFINES
************************************************************************************************************************
*/
/* Socket definitions */
#define SOCKET_DEFAULT_PORT 5555
#define SOCKET_MSG_BUFFER_SIZE 1024
/* Protocol commands definition */
#define EFFECT_ADD "add %s %i"
#define EFFECT_REMOVE "remove %i"
#define EFFECT_LIST_URIS "list_uris"
#define EFFECT_LIST_BUNDLES "list_bundles"
#define EFFECT_PRESET_LOAD "preset_load %i %s"
#define EFFECT_PRESET_SAVE "preset_save %i %s %s %s"
#define EFFECT_PRESET_SHOW "preset_show %s"
#define EFFECT_PRESET_LIST "preset_list %i"
#define EFFECT_CONNECT "connect %s %s"
#define EFFECT_DISCONNECT "disconnect %s %s"
#define EFFECT_BYPASS "bypass %i %i"
#define EFFECT_PARAM_SET "param_set %i %s %s"
#define EFFECT_PARAM_GET "param_get %i %s"
#define EFFECT_PARAM_INFO "param_info %i %s"
#define EFFECT_PARAM_MON "param_monitor %i %s %s %f"
#define MONITOR_ADDR_SET "monitor %s %i %i"
#define MONITOR_OUTPUT "monitor_output %i %s"
#define MIDI_LEARN "midi_learn %i %s %f %f"
#define MIDI_MAP "midi_map %i %s %i %i %f %f"
#define MIDI_UNMAP "midi_unmap %i %s"
#define MIDI_PROGRAM_LISTEN "midi_program_listen %i %i"
#define CPU_LOAD "cpu_load"
#define LOAD_COMMANDS "load %s"
#define SAVE_COMMANDS "save %s"
#define BUNDLE_ADD "bundle_add %s"
#define BUNDLE_REMOVE "bundle_remove %s"
#define OUTPUT_DATA_READY "output_data_ready"
#define HELP "help"
#define QUIT "quit"
/*
************************************************************************************************************************
* DATA TYPES
************************************************************************************************************************
*/
/*
************************************************************************************************************************
* GLOBAL VARIABLES
************************************************************************************************************************
*/
/*
************************************************************************************************************************
* MACRO'S
************************************************************************************************************************
*/
/*
************************************************************************************************************************
* FUNCTION PROTOTYPES
************************************************************************************************************************
*/
/*
************************************************************************************************************************
* CONFIGURATION ERRORS
************************************************************************************************************************
*/
/*
************************************************************************************************************************
* END HEADER
************************************************************************************************************************
*/
#endif