summaryrefslogtreecommitdiffstats
path: root/src/ufo-roof-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ufo-roof-config.c')
-rw-r--r--src/ufo-roof-config.c4
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;
}