diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2020-03-08 16:23:41 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2020-03-08 16:23:41 +0100 |
commit | 7b2e6168b049be9e7852b2d364d897592eff69fc (patch) | |
tree | 65b043a0d0583d03a55db697e228fa30ffb3061c /src/ufo-roof-config.c | |
parent | 0fa60586c49c2ba10f1e24c6533ebf4980372f2f (diff) | |
download | ufo-roof-master.tar.gz ufo-roof-master.tar.bz2 ufo-roof-master.tar.xz ufo-roof-master.zip |
Fix 64-bit ids, ROOF ids are big-endian, skip incomplete datasets at the end and if with specified latency, try to reconstruct from desynchronized streams (harmful, debugging only)HEADmaster
Diffstat (limited to 'src/ufo-roof-config.c')
-rw-r--r-- | src/ufo-roof-config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ufo-roof-config.c b/src/ufo-roof-config.c index 17f4b30..944ee31 100644 --- a/src/ufo-roof-config.c +++ b/src/ufo-roof-config.c @@ -94,6 +94,7 @@ UfoRoofConfig *ufo_roof_config_new(const char *config, UfoRoofConfigFlags flags, cfg->max_packets = 100; cfg->dataset_size = 0; cfg->buffer_size = 2; + cfg->latency_buffers = 0; cfg->drop_buffers = 0; @@ -193,6 +194,7 @@ UfoRoofConfig *ufo_roof_config_new(const char *config, UfoRoofConfigFlags flags, roof_config_node_get(cfg->max_packets, performance, int, "packets_at_once"); roof_config_node_get(cfg->buffer_size, performance, int, "buffer_size"); roof_config_node_get(cfg->drop_buffers, performance, int, "drop_buffers"); + roof_config_node_get(cfg->latency_buffers, performance, int, "latency_buffers"); } @@ -237,7 +239,5 @@ UfoRoofConfig *ufo_roof_config_new(const char *config, UfoRoofConfigFlags flags, cfg->drop_buffers = cfg->buffer_size / 2; } - printf("dataset size: %i\n", cfg->dataset_size); - return cfg; } |