mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
lib/libcoolstream2: directory for apollo headers
Origin commit data
------------------
Branch: ni/coolstream
Commit: 58c1650b72
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-01-11 (Fri, 11 Jan 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
40
lib/libcoolstream2/record_cs.h
Normal file
40
lib/libcoolstream2/record_cs.h
Normal file
@@ -0,0 +1,40 @@
|
||||
/*******************************************************************************/
|
||||
/* */
|
||||
/* libcoolstream/record_cs.h */
|
||||
/* Public header file for record API */
|
||||
/* */
|
||||
/* (C) 2008 CoolStream International */
|
||||
/* */
|
||||
/* $Id:: $ */
|
||||
/*******************************************************************************/
|
||||
#ifndef __RECORD_CS_H_
|
||||
#define __RECORD_CS_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
class cRecordData;
|
||||
|
||||
#define REC_STATUS_OK 0
|
||||
#define REC_STATUS_SLOW 1
|
||||
#define REC_STATUS_OVERFLOW 2
|
||||
|
||||
class cRecord {
|
||||
private:
|
||||
cRecordData * rd;
|
||||
bool enabled;
|
||||
int unit;
|
||||
|
||||
public:
|
||||
cRecord(int num = 0);
|
||||
~cRecord();
|
||||
|
||||
bool Open();
|
||||
void Close(void);
|
||||
bool Start(int fd, unsigned short vpid, unsigned short * apids, int numapids, uint64_t chid);
|
||||
bool Stop(void);
|
||||
bool AddPid(unsigned short pid);
|
||||
int GetStatus();
|
||||
void ResetStatus();
|
||||
};
|
||||
|
||||
#endif // __RECORD_CS_H_
|
Reference in New Issue
Block a user