summaryrefslogtreecommitdiffstats
path: root/src/DabMultiplexer.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2015-07-03 08:51:42 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2015-07-03 08:51:42 +0200
commit85853c4ae5e48359feac44370b4c0f05fbb23147 (patch)
treec8f72bf013f6a9b687c5c5d0f4622f24a3cff983 /src/DabMultiplexer.h
parent93cb9dc6d1492ac2ed58c24a016b579813177a13 (diff)
downloaddabmux-85853c4ae5e48359feac44370b4c0f05fbb23147.tar.gz
dabmux-85853c4ae5e48359feac44370b4c0f05fbb23147.tar.bz2
dabmux-85853c4ae5e48359feac44370b4c0f05fbb23147.zip
Move some EDI things around
Diffstat (limited to 'src/DabMultiplexer.h')
-rw-r--r--src/DabMultiplexer.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/DabMultiplexer.h b/src/DabMultiplexer.h
index 9761ef9..27cc063 100644
--- a/src/DabMultiplexer.h
+++ b/src/DabMultiplexer.h
@@ -77,6 +77,8 @@ class DabMultiplexer {
void update_config(boost::property_tree::ptree pt);
+ void set_edi_config(const edi_configuration_t& new_edi_conf);
+
private:
void prepare_watermark(void);
void prepare_subchannels(void);
@@ -123,6 +125,17 @@ class DabMultiplexer {
// Multiplex reconfiguration requires two sets of configurations
boost::property_tree::ptree m_pt_next;
boost::shared_ptr<dabEnsemble> ensemble_next;
+
+#if HAVE_OUTPUT_EDI
+ std::ofstream edi_debug_file;
+ UdpSocket edi_output;
+
+ // The TagPacket will then be placed into an AFPacket
+ AFPacketiser edi_afPacketiser;
+
+ // The AF Packet will be protected with reed-solomon and split in fragments
+ PFT edi_pft;
+#endif // HAVE_OUTPUT_EDI
};
// DAB Mode