summaryrefslogtreecommitdiffstats
path: root/src
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
parent7f5faf87e6373d27ae6709a1185154ca8e98276b (diff)
downloaddabmod-014e35d73f80cef14895bc9c0dad5d35213e8aab.tar.gz
dabmod-014e35d73f80cef14895bc9c0dad5d35213e8aab.tar.bz2
dabmod-014e35d73f80cef14895bc9c0dad5d35213e8aab.zip
Fix compilation without zmq output
Diffstat (limited to 'src')
-rw-r--r--src/DabMod.cpp2
-rw-r--r--src/OutputZeroMQ.h2
2 files changed, 2 insertions, 2 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);
diff --git a/src/OutputZeroMQ.h b/src/OutputZeroMQ.h
index a3ac060..1c48fe7 100644
--- a/src/OutputZeroMQ.h
+++ b/src/OutputZeroMQ.h
@@ -52,8 +52,6 @@ class OutputZeroMQ : public ModOutput
// tcp://*:58300
std::string m_name;
-
- Buffer* m_data_out;
};
#endif // HAVE_OUTPUT_ZEROMQ_H