mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
driver/record.cpp: add timer to monitor record status;
add warning, when record buffer close to or already overflow; change single record stop to sync mode - under high load stopTimerEvent() takes too long
This commit is contained in:
@@ -124,6 +124,7 @@ class CRecordInstance
|
||||
bool Timeshift() { return autoshift; };
|
||||
int tshift_mode;
|
||||
void SetStopMessage(const char* text) {rec_stop_msg = text;} ;
|
||||
int GetStatus();
|
||||
|
||||
CFrontend * frontend;
|
||||
};
|
||||
@@ -150,6 +151,9 @@ class CRecordManager : public CMenuTarget /*, public CChangeObserver*/
|
||||
int last_mode;
|
||||
bool autoshift;
|
||||
uint32_t shift_timer;
|
||||
uint32_t check_timer;
|
||||
bool error_display;
|
||||
bool warn_display;
|
||||
|
||||
OpenThreads::Mutex mutex;
|
||||
static OpenThreads::Mutex sm;
|
||||
|
Reference in New Issue
Block a user