summaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2018-02-16 11:56:58 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2018-02-16 11:56:58 +0100
commita2c11764d832da5aee333581abe8734e16f106d2 (patch)
treebaaf2dcfa3cc34db4390e572fe0e547ea82ecb4b /src/DabMod.cpp
parent5f8be01b3dfa32a63b142efad9feeffae663d62f (diff)
downloaddabmod-a2c11764d832da5aee333581abe8734e16f106d2.tar.gz
dabmod-a2c11764d832da5aee333581abe8734e16f106d2.tar.bz2
dabmod-a2c11764d832da5aee333581abe8734e16f106d2.zip
Avoid interruptions when ZMQ input timeouts and FP is 4
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp4
1 files changed, 2 insertions, 2 deletions
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");