From 6234299e5a3db9393b3f000854e6c1c0ac3e2256 Mon Sep 17 00:00:00 2001 From: Henri Herscher Date: Thu, 21 Sep 2006 19:24:22 +0000 Subject: Capture Batch Size now configurable. This makes it possible to control how much data will be buffered in RAM for an individual capture before it is written to disk in the media capture file (mcf). git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@335 09dcff7a-b715-0410-9601-b79a96267cd0 --- orkbasecxx/Config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'orkbasecxx/Config.h') diff --git a/orkbasecxx/Config.h b/orkbasecxx/Config.h index 54a0787..09fe6a4 100644 --- a/orkbasecxx/Config.h +++ b/orkbasecxx/Config.h @@ -71,6 +71,8 @@ #define DELETE_FAILED_CAPTURE_FILE_DEFAULT false #define CAPTURE_PORT_FILTERS_PARAM "CapturePortFilters" #define TAPE_PROCESSORS_PARAM "TapeProcessors" +#define CAPTURE_FILE_BATCH_SIZE_KBYTE_PARAM "CaptureFileBatchSizeKByte" +#define CAPTURE_FILE_BATCH_SIZE_KBYTE_DEFAULT 4 class DLL_IMPORT_EXPORT_ORKBASE Config : public Object { @@ -111,6 +113,7 @@ public: bool m_deleteFailedCaptureFile; std::list m_capturePortFilters; std::list m_tapeProcessors; + int m_captureFileBatchSizeKByte; private: log4cxx::LoggerPtr m_log; -- cgit v1.2.3