mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
cleanup
Origin commit data
------------------
Branch: master
Commit: 23bea61473
Author: martii <m4rtii@gmx.de>
Date: 2013-06-08 (Sat, 08 Jun 2013)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -7,9 +7,7 @@
|
||||
#define REC_STATUS_OK 0
|
||||
#define REC_STATUS_SLOW 1
|
||||
#define REC_STATUS_OVERFLOW 2
|
||||
#ifdef MARTII
|
||||
#define REC_STATUS_STOPPED 4
|
||||
#endif
|
||||
|
||||
typedef enum {
|
||||
RECORD_RUNNING,
|
||||
@@ -30,19 +28,13 @@ class cRecord
|
||||
bool record_thread_running;
|
||||
record_state_t exit_flag;
|
||||
int state;
|
||||
#ifdef MARTII
|
||||
int bufsize;
|
||||
int bufsize_dmx;
|
||||
void (*failureCallback)(void *);
|
||||
void *failureData;
|
||||
#endif
|
||||
public:
|
||||
#ifdef MARTII
|
||||
cRecord(int num = 0, int bs_dmx = 100 * 188 * 1024, int bs = 100 * 188 * 1024);
|
||||
void setFailureCallback(void (*f)(void *), void *d) { failureCallback = f; failureData = d; }
|
||||
#else
|
||||
cRecord(int num = 0);
|
||||
#endif
|
||||
~cRecord();
|
||||
|
||||
bool Open();
|
||||
|
Reference in New Issue
Block a user