summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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