Skip to content

Commit 3ae42a8

Browse files
committed
AVInput COM-RPC Support: WIP
1 parent a9560ee commit 3ae42a8

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

AVInput/AVInputUtils.h

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,21 @@
1919

2020
#pragma once
2121

22-
#define INPUT_TYPE_STRING_ALL "ALL"
23-
#define INPUT_TYPE_STRING_HDMI "HDMI"
24-
#define INPUT_TYPE_STRING_COMPOSITE "COMPOSITE"
22+
// <pca> debug
23+
// #define INPUT_TYPE_STRING_ALL "ALL"
24+
// #define INPUT_TYPE_STRING_HDMI "HDMI"
25+
// #define INPUT_TYPE_STRING_COMPOSITE "COMPOSITE"
26+
static const string& INPUT_TYPE_STRING_ALL "ALL"
27+
static const string& INPUT_TYPE_STRING_HDMI "HDMI"
28+
static const string& INPUT_TYPE_STRING_COMPOSITE "COMPOSITE"
2529

26-
#define INPUT_TYPE_INT_ALL -1
27-
#define INPUT_TYPE_INT_HDMI 0
28-
#define INPUT_TYPE_INT_COMPOSITE 1
30+
// #define INPUT_TYPE_INT_ALL -1
31+
// #define INPUT_TYPE_INT_HDMI 0
32+
// #define INPUT_TYPE_INT_COMPOSITE 1
33+
static const int INPUT_TYPE_INT_ALL -1
34+
static const int INPUT_TYPE_INT_HDMI 0
35+
static const int INPUT_TYPE_INT_COMPOSITE 1
36+
// </pca>
2937

3038
class AVInputUtils {
3139
public:

0 commit comments

Comments
 (0)