aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/example.ini3
-rw-r--r--src/DabMod.cpp5
2 files changed, 5 insertions, 3 deletions
diff --git a/doc/example.ini b/doc/example.ini
index 2e58958..f76b7ad 100644
--- a/doc/example.ini
+++ b/doc/example.ini
@@ -60,6 +60,9 @@ behaviour_refclk_lock_lost=ignore
[delaymanagement]
synchronous=0
+; whether to mute the TX when incoming frames have no timestamp
+mutenotimestamps=0
+
; choose between fixed and dynamic offset definition
management=dynamic
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index 127d72f..a5546a2 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -460,13 +460,12 @@ int main(int argc, char* argv[])
goto END_MAIN;
}
}
+
+ outputuhd_conf.muteNoTimestamps = (pt.get("delaymanagement.mutenotimestamps", 0) == 1);
}
logger.level(info) << "starting up";
- // When using offset, enable frame muting
- outputuhd_conf.muteNoTimestamps = (modconf.use_offset_file || modconf.use_offset_fixed);
-
if (!(modconf.use_offset_file || modconf.use_offset_fixed)) {
fprintf(stderr, "No Modulator offset defined, setting to 0\n");
logger.level(debug) << "No Modulator offset defined, setting to 0";