forked from RebelTechnology/OwlProgram
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathServiceCall.h
More file actions
27 lines (22 loc) · 887 Bytes
/
ServiceCall.h
File metadata and controls
27 lines (22 loc) · 887 Bytes
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
#define OWL_SERVICE_VERSION_V1 0x0001
#define OWL_SERVICE_ARM_RFFT_FAST_INIT_F32 0x0100
#define OWL_SERVICE_ARM_CFFT_INIT_F32 0x0110
#define OWL_SERVICE_GET_PARAMETERS 0x1000
#define OWL_SERVICE_LOAD_RESOURCE 0x1001
#define OWL_SERVICE_GET_ARRAY 0x1010
#define OWL_SERVICE_REGISTER_CALLBACK 0x1100
#define OWL_SERVICE_REQUEST_CALLBACK 0x1101
#define OWL_SERVICE_OK 0x000
#define OWL_SERVICE_INVALID_ARGS -1
#define SYSTEM_TABLE_LOG "SLG"
#define SYSTEM_TABLE_POW "SPW"
#define SYSTEM_FUNCTION_DRAW "DRW"
#define SYSTEM_FUNCTION_MIDI "MDI"
#define OWL_SERVICE_VERSION OWL_SERVICE_VERSION_V1
#ifdef __cplusplus
extern "C" {
#endif
int serviceCall(int service, void** params, int len);
#ifdef __cplusplus
}
#endif