diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-02-16 11:56:58 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-02-16 11:56:58 +0100 |
commit | a2c11764d832da5aee333581abe8734e16f106d2 (patch) | |
tree | baaf2dcfa3cc34db4390e572fe0e547ea82ecb4b /src | |
parent | 5f8be01b3dfa32a63b142efad9feeffae663d62f (diff) | |
download | dabmod-a2c11764d832da5aee333581abe8734e16f106d2.tar.gz dabmod-a2c11764d832da5aee333581abe8734e16f106d2.tar.bz2 dabmod-a2c11764d832da5aee333581abe8734e16f106d2.zip |
Avoid interruptions when ZMQ input timeouts and FP is 4
Diffstat (limited to 'src')
-rw-r--r-- | src/DabMod.cpp | 4 |
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"); |