lib/libcoolstream2/dmx_cs.h: update apollo header

This commit is contained in:
[CST] Focus
2014-03-31 13:48:59 +04:00
parent 2997b5eea2
commit 88a622a0ad

View File

@@ -23,7 +23,12 @@
#endif #endif
#define DMX_FILTER_SIZE MAX_FILTER_LENGTH #define DMX_FILTER_SIZE MAX_FILTER_LENGTH
#define MAX_DMX_UNITS 5 #define MAX_DMX_UNITS cDemux::GetCount(DMX_TS)
typedef enum {
DMX_TS = 0,
DMX_DMA,
} DMX_TYPE;
typedef enum { typedef enum {
DMX_VIDEO_CHANNEL = 1, DMX_VIDEO_CHANNEL = 1,
@@ -81,5 +86,6 @@ public:
int GetSource(); int GetSource();
static bool SetSource(int unit, int source); static bool SetSource(int unit, int source);
static int GetSource(int unit); static int GetSource(int unit);
static u32 GetCount(DMX_TYPE Type = DMX_TS);
}; };
#endif //__DMX_CS_H_ #endif //__DMX_CS_H_