From 222092625a680b7d51d8b897b78838721759499a Mon Sep 17 00:00:00 2001 From: enselic Date: Fri, 3 Oct 2008 07:27:09 +0000 Subject: src/rmd_cache_frame.c: Define CACHE_OUT_BUFFER_SIZE and CACHE_FILE_SIZE_LIMIT in a readable manner, and remove redundant comments. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@561 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- recordmydesktop/src/rmd_cache_frame.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'recordmydesktop/src') diff --git a/recordmydesktop/src/rmd_cache_frame.c b/recordmydesktop/src/rmd_cache_frame.c index 1c98ec9..1e35065 100644 --- a/recordmydesktop/src/rmd_cache_frame.c +++ b/recordmydesktop/src/rmd_cache_frame.c @@ -36,10 +36,8 @@ #include "rmd_cache_frame.h" -//minimize hard disk access -#define CACHE_OUT_BUFFER_SIZE 4096 -//500 mb file size -#define CACHE_FILE_SIZE_LIMIT (500*1<<20) +#define CACHE_OUT_BUFFER_SIZE (4 * 1024) +#define CACHE_FILE_SIZE_LIMIT (5 * 1024 * 1024) static int FlushBlock(unsigned char *buf, -- cgit v1.2.3