Files
neutrino/lib/libcoolstream/record_cs.h
focus 4a3af851ef New library headers, change library name
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1573 e54a6e83-5905-42d5-8d5c-058d10e6a962
2011-07-21 10:58:02 +00:00

38 lines
1.2 KiB
C++

/*******************************************************************************/
/* */
/* libcoolstream/record_cs.h */
/* Public header file for record API */
/* */
/* (C) 2008 CoolStream International */
/* */
/*******************************************************************************/
#ifndef __RECORD_CS_H_
#define __RECORD_CS_H_
#include <string>
class cRecordData;
class cRecord {
private:
cRecordData * rd;
bool enabled;
int num_apids;
int unit;
int nRecordFD;
public:
cRecord(int num = 0);
~cRecord();
bool Open();
void Close(void);
bool Start(int fd, unsigned short vpid, unsigned short * apids, int numapids);
bool Stop(void);
bool AddPid(unsigned short pid);
/* not tested */
bool ChangePids(unsigned short vpid, unsigned short * apids, int numapids);
};
#endif // __RECORD_CS_H_