mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 07:23:09 +02:00
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@1573 e54a6e83-5905-42d5-8d5c-058d10e6a962
38 lines
1.2 KiB
C++
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_
|