mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
lib/libcoolstream/record_cs.h: update header
This commit is contained in:
@@ -14,6 +14,10 @@
|
|||||||
|
|
||||||
class cRecordData;
|
class cRecordData;
|
||||||
|
|
||||||
|
#define REC_STATUS_OK 0
|
||||||
|
#define REC_STATUS_SLOW 1
|
||||||
|
#define REC_STATUS_OVERFLOW 2
|
||||||
|
|
||||||
class cRecord {
|
class cRecord {
|
||||||
private:
|
private:
|
||||||
cRecordData * rd;
|
cRecordData * rd;
|
||||||
@@ -29,6 +33,8 @@ public:
|
|||||||
bool Start(int fd, unsigned short vpid, unsigned short * apids, int numapids, uint64_t chid);
|
bool Start(int fd, unsigned short vpid, unsigned short * apids, int numapids, uint64_t chid);
|
||||||
bool Stop(void);
|
bool Stop(void);
|
||||||
bool AddPid(unsigned short pid);
|
bool AddPid(unsigned short pid);
|
||||||
|
int GetStatus();
|
||||||
|
void ResetStatus();
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif // __RECORD_CS_H_
|
#endif // __RECORD_CS_H_
|
||||||
|
Reference in New Issue
Block a user