summaryrefslogtreecommitdiff
path: root/orkbasecxx/Config.h
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2006-09-21 19:24:22 +0000
committerHenri Herscher <henri@oreka.org>2006-09-21 19:24:22 +0000
commit6234299e5a3db9393b3f000854e6c1c0ac3e2256 (patch)
tree2c37e7d4695ffffbd18de4975c277a0660de4270 /orkbasecxx/Config.h
parent4b30474b50b5282705eabe481b850e0bf80bcfae (diff)
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
Diffstat (limited to 'orkbasecxx/Config.h')
-rw-r--r--orkbasecxx/Config.h3
1 files changed, 3 insertions, 0 deletions
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<CStdString> m_capturePortFilters;
std::list<CStdString> m_tapeProcessors;
+ int m_captureFileBatchSizeKByte;
private:
log4cxx::LoggerPtr m_log;