-
Notifications
You must be signed in to change notification settings - Fork 10
/
ControllerObserver.h
41 lines (31 loc) · 1.24 KB
/
ControllerObserver.h
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
/*
* Copyright 2018-2023, Stefano Ceccherini <[email protected]>
* All rights reserved. Distributed under the terms of the MIT license.
*/
#ifndef __CONTROLLEROBSERVER_H
#define __CONTROLLEROBSERVER_H
enum {
kMsgControllerCaptureStarted = 5000,
kMsgControllerCaptureStopped, // status_t "status"
kMsgControllerCapturePaused,
kMsgControllerCaptureResumed,
kMsgControllerCaptureProgress, // int32 "frames_total"
kMsgControllerEncodeStarted, // int32 "frames_total"
kMsgControllerEncodeProgress, // int32 "frames_remaining"
// const char* "text"
// bool "reset"
// int32 "frames_total"
kMsgControllerEncodeFinished, // status_t "status"
// const char* "file_name"
kMsgControllerSelectionWindowClosed,
kMsgControllerSourceFrameChanged, // BRect "frame",
kMsgControllerTargetFrameChanged, // BRect "frame", float "scale"
kMsgControllerVideoDepthChanged,
kMsgControllerOutputFileNameChanged,
kMsgControllerCodecListUpdated,
kMsgControllerCodecChanged, // const char* "codec_name"
kMsgControllerMediaFileFormatChanged, // const char* "format_name"
kMsgControllerCaptureFrameRateChanged, // int32 "frame_rate"
kMsgControllerResetSettings
};
#endif // __CONTROLLEROBSERVER_H