diff options
Diffstat (limited to 'src/DabMultiplexer.h')
-rw-r--r-- | src/DabMultiplexer.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/DabMultiplexer.h b/src/DabMultiplexer.h index 9d7d19b..3b521ff 100644 --- a/src/DabMultiplexer.h +++ b/src/DabMultiplexer.h @@ -50,6 +50,8 @@ #include <memory> #include <boost/property_tree/ptree.hpp> +constexpr uint32_t ETI_FSYNC1 = 0x49C5F8; + class DabMultiplexer : public RemoteControllable { public: DabMultiplexer(boost::property_tree::ptree pt); @@ -59,7 +61,7 @@ class DabMultiplexer : public RemoteControllable { void prepare(bool require_tai_clock); - unsigned long getCurrentFrame() { return currentFrame; } + unsigned long getCurrentFrame() { return m_currentFrame; } void mux_frame(std::vector<std::shared_ptr<DabOutput> >& outputs); @@ -89,8 +91,7 @@ class DabMultiplexer : public RemoteControllable { edi::configuration_t edi_conf; std::shared_ptr<edi::Sender> edi_sender; - uint32_t sync = 0x49C5F8; - unsigned long currentFrame = 0; + unsigned long m_currentFrame = 0; std::shared_ptr<dabEnsemble> ensemble; |