summaryrefslogtreecommitdiffstats
path: root/src/DabMod.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-11-01 16:48:13 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-11-01 16:48:13 +0100
commit014e35d73f80cef14895bc9c0dad5d35213e8aab (patch)
tree7d82cd3df2f336bb55e74a28cccfee70e2508ee5 /src/DabMod.cpp
parent7f5faf87e6373d27ae6709a1185154ca8e98276b (diff)
downloaddabmod-014e35d73f80cef14895bc9c0dad5d35213e8aab.tar.gz
dabmod-014e35d73f80cef14895bc9c0dad5d35213e8aab.tar.bz2
dabmod-014e35d73f80cef14895bc9c0dad5d35213e8aab.zip
Fix compilation without zmq output
Diffstat (limited to 'src/DabMod.cpp')
-rw-r--r--src/DabMod.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp
index f27d720..a4ef228 100644
--- a/src/DabMod.cpp
+++ b/src/DabMod.cpp
@@ -726,12 +726,14 @@ int main(int argc, char* argv[])
}
}
#endif
+#if defined(HAVE_OUTPUT_ZEROMQ)
else if (useZeroMQOutput) {
/* We normalise the same way as for the UHD output */
normalise = 1.0f/50000.0f;
output = new OutputZeroMQ(outputName);
}
+#endif
flowgraph = new Flowgraph();
data.setLength(6144);