1 /******************************************************************************
2     Copyright (C) 2013-2014 by Hugh Bailey <obs.jim@gmail.com>
3 
4     This program is free software: you can redistribute it and/or modify
5     it under the terms of the GNU General Public License as published by
6     the Free Software Foundation, either version 2 of the License, or
7     (at your option) any later version.
8 
9     This program is distributed in the hope that it will be useful,
10     but WITHOUT ANY WARRANTY; without even the implied warranty of
11     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12     GNU General Public License for more details.
13 
14     You should have received a copy of the GNU General Public License
15     along with this program.  If not, see <http://www.gnu.org/licenses/>.
16 ******************************************************************************/
17 
18 #pragma once
19 
20 /** Maximum number of source channels for output and per display */
21 #define MAX_CHANNELS 64
22 
23 #define OBS_ALIGN_CENTER (0)
24 #define OBS_ALIGN_LEFT (1 << 0)
25 #define OBS_ALIGN_RIGHT (1 << 1)
26 #define OBS_ALIGN_TOP (1 << 2)
27 #define OBS_ALIGN_BOTTOM (1 << 3)
28 
29 #define MODULE_SUCCESS 0
30 #define MODULE_ERROR -1
31 #define MODULE_FILE_NOT_FOUND -2
32 #define MODULE_MISSING_EXPORTS -3
33 #define MODULE_INCOMPATIBLE_VER -4
34 
35 #define OBS_OUTPUT_SUCCESS 0
36 #define OBS_OUTPUT_BAD_PATH -1
37 #define OBS_OUTPUT_CONNECT_FAILED -2
38 #define OBS_OUTPUT_INVALID_STREAM -3
39 #define OBS_OUTPUT_ERROR -4
40 #define OBS_OUTPUT_DISCONNECTED -5
41 #define OBS_OUTPUT_UNSUPPORTED -6
42 #define OBS_OUTPUT_NO_SPACE -7
43 #define OBS_OUTPUT_ENCODE_ERROR -8
44 
45 #define OBS_VIDEO_SUCCESS 0
46 #define OBS_VIDEO_FAIL -1
47 #define OBS_VIDEO_NOT_SUPPORTED -2
48 #define OBS_VIDEO_INVALID_PARAM -3
49 #define OBS_VIDEO_CURRENTLY_ACTIVE -4
50 #define OBS_VIDEO_MODULE_NOT_FOUND -5
51