LiVES  1.6.4-svn
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
osc_notify.h
Go to the documentation of this file.
1 // osc_notify.h
2 // LiVES (lives-exe)
3 // (c) G. Finch 2008 - 2010
4 // Released under the GPL 3 or later
5 // see file ../COPYING for licensing details
6 
7 
8 // this is a system for monitoring LiVES using OSC
9 
10 // for example, LiVES can be started like: lives -oscstart 49999
11 // a client can then connect to UDP port 49999, and can ask LiVES to open a notify socket on UDP port 49997
12 // sendOSC -host localhost 49999 /lives/open_notify_socket,49997
13 //
14 // LiVES will then send messages of the form:
15 // msg_number|msg_string
16 // (msg_string may be of 0 length. The message is terminated with \n\0).
17 // when various events happen. The event types are enumerated below.
18 //
19 
20 #ifndef HAS_LIVES_OSC_NOTIFY_H
21 #define HAS_LIVES_OSC_NOTIFY_H
22 
23 #define LIVES_OSC_NOTIFY_FRAME_SYNCH 1
24 #define LIVES_OSC_NOTIFY_PLAYBACK_STARTED 2
25 #define LIVES_OSC_NOTIFY_PLAYBACK_STOPPED 3
26 
27 
28 
29 #define LIVES_OSC_NOTIFY_PLAYBACK_STOPPED_RD 4
30 
31 
32 #define LIVES_OSC_NOTIFY_RECORD_STARTED 32
33 #define LIVES_OSC_NOTIFY_RECORD_STOPPED 33
34 
35 #define LIVES_OSC_NOTIFY_QUIT 64
36 
37 #define LIVES_OSC_NOTIFY_CLIP_OPENED 128
38 #define LIVES_OSC_NOTIFY_CLIP_CLOSED 129
39 
40 
41 #define LIVES_OSC_NOTIFY_CLIPSET_OPENED 256
42 #define LIVES_OSC_NOTIFY_CLIPSET_SAVED 257
43 
44 
45 #define LIVES_OSC_NOTIFY_SUCCESS 512
46 #define LIVES_OSC_NOTIFY_FAILED 1024
47 #define LIVES_OSC_NOTIFY_CANCELLED 2048
48 
49 #define LIVES_OSC_NOTIFY_MODE_CHANGED 4096
50 
51 #endif