diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2004-10-16 09:36:28 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2004-10-16 09:36:28 +0200 |
commit | 6415cc900de3361925d22f879077be687fce3858 (patch) | |
tree | 98ab10cda016e125e33966e371ccfe01e5fd9bd1 /recorder.h | |
parent | 15030f6acece1060f9736f875fe3abbcf9392263 (diff) | |
download | vdr-6415cc900de3361925d22f879077be687fce3858.tar.gz vdr-6415cc900de3361925d22f879077be687fce3858.tar.bz2 |
Improved buffer handling
Diffstat (limited to 'recorder.h')
-rw-r--r-- | recorder.h | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recorder.h 1.1 2002/06/10 16:30:00 kls Exp $ + * $Id: recorder.h 1.2 2004/10/10 11:22:38 kls Exp $ */ #ifndef __RECORDER_H @@ -16,19 +16,14 @@ #include "ringbuffer.h" #include "thread.h" +class cFileWriter; + class cRecorder : public cReceiver, cThread { private: cRingBufferLinear *ringBuffer; cRemux *remux; - cFileName *fileName; - cIndexFile *index; - uchar pictureType; - int fileSize; - int recordFile; + cFileWriter *writer; bool active; - time_t lastDiskSpaceCheck; - bool RunningLowOnDiskSpace(void); - bool NextFile(void); protected: virtual void Activate(bool On); virtual void Receive(uchar *Data, int Length); |