SASC-NG
DVBSoftCAM

recording.h File Reference

#include <time.h>
#include "channels.h"
#include "config.h"
#include "epg.h"
#include "thread.h"
#include "timers.h"
#include "tools.h"

Go to the source code of this file.

Classes

class  cResumeFile
class  cRecordingInfo
class  cRecording
class  cRecordings
class  cMark
class  cMarks
class  cRecordingUserCommand
class  cIndexFile
struct  cIndexFile::tIndex
class  cFileName

Defines

#define RUC_BEFORERECORDING   "before"
#define RUC_AFTERRECORDING   "after"
#define RUC_EDITEDRECORDING   "edited"
#define FRAMESPERSEC   25
#define MAXFRAMESIZE   KILOBYTE(512)
#define MAXVIDEOFILESIZE   2000
#define MINVIDEOFILESIZE   100

Functions

void RemoveDeletedRecordings (void)
void AssertFreeDiskSpace (int Priority=0, bool Force=false)
cString IndexToHMSF (int Index, bool WithFrame=false)
int HMSFToIndex (const char *HMSF)
int SecondsToFrames (int Seconds)
int ReadFrame (cUnbufferedFile *f, uchar *b, int Length, int Max)
char * ExchangeChars (char *s, bool ToFileSystem)

Variables

bool VfatFileSystem
cRecordings Recordings
cRecordings DeletedRecordings

Define Documentation

#define FRAMESPERSEC   25

Definition at line 180 of file recording.h.

#define MAXFRAMESIZE   KILOBYTE(512)

Definition at line 183 of file recording.h.

#define MAXVIDEOFILESIZE   2000

Definition at line 191 of file recording.h.

#define MINVIDEOFILESIZE   100

Definition at line 192 of file recording.h.

#define RUC_AFTERRECORDING   "after"

Definition at line 168 of file recording.h.

#define RUC_BEFORERECORDING   "before"

Definition at line 167 of file recording.h.

#define RUC_EDITEDRECORDING   "edited"

Definition at line 169 of file recording.h.


Function Documentation

void AssertFreeDiskSpace ( int  Priority = 0,
bool  Force = false 
)

The special Priority value -1 means that we shall get rid of any deleted recordings faster than normal (because we're cutting). If Force is true, the check will be done even if the timeout hasn't expired yet.

char* ExchangeChars ( char *  s,
bool  ToFileSystem 
)
int HMSFToIndex ( const char *  HMSF)
cString IndexToHMSF ( int  Index,
bool  WithFrame = false 
)
int ReadFrame ( cUnbufferedFile *  f,
uchar *  b,
int  Length,
int  Max 
)
void RemoveDeletedRecordings ( void  )
int SecondsToFrames ( int  Seconds)

Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines