From 7ade39597ac83a03395e86a8276fbb6dec6a6a2f Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 22 Jun 2002 10:11:59 +0200 Subject: Activated cutting --- recording.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'recording.h') diff --git a/recording.h b/recording.h index 16c6506f..2fae49ee 100644 --- a/recording.h +++ b/recording.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: recording.h 1.23 2002/06/16 11:29:47 kls Exp $ + * $Id: recording.h 1.24 2002/06/22 10:09:27 kls Exp $ */ #ifndef __RECORDING_H @@ -107,6 +107,9 @@ public: //XXX+ #define FRAMESPERSEC 25 +// The maximum size of a single frame: +#define MAXFRAMESIZE KILOBYTE(192) + // The maximum file size is limited by the range that can be covered // with 'int'. 4GB might be possible (if the range is considered // 'unsigned'), 2GB should be possible (even if the range is considered @@ -163,4 +166,6 @@ int HMSFToIndex(const char *HMSF); int SecondsToFrames(int Seconds); //XXX+ ->player??? // Returns the number of frames corresponding to the given number of seconds. +int ReadFrame(int f, uchar *b, int Length, int Max); + #endif //__RECORDING_H -- cgit v1.2.3