From a2c11764d832da5aee333581abe8734e16f106d2 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 16 Feb 2018 11:56:58 +0100 Subject: Avoid interruptions when ZMQ input timeouts and FP is 4 --- src/DabMod.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/DabMod.cpp b/src/DabMod.cpp index cca0ac1..fec128d 100644 --- a/src/DabMod.cpp +++ b/src/DabMod.cpp @@ -472,10 +472,10 @@ static run_modulator_state_t run_modulator(modulator_data& m) { auto ret = run_modulator_state_t::failure; try { - while (running) { + bool first_frame = true; + while (running) { int framesize; - bool first_frame = true; PDEBUG("*****************************************\n"); PDEBUG("* Starting main loop\n"); -- cgit v1.2.3