diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2025-01-06 22:11:12 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2025-01-06 22:11:12 +0100 |
commit | 409ec7f6899693fb7f1c141945f83fe6cfa41827 (patch) | |
tree | 3db3acdbf00b85f98c6dc37366ef0389735bb9a6 /src/ConfigParser.cpp | |
parent | 9566a524f87d9de68d7fd16660e9c467a588559e (diff) | |
download | dabmux-409ec7f6899693fb7f1c141945f83fe6cfa41827.tar.gz dabmux-409ec7f6899693fb7f1c141945f83fe6cfa41827.tar.bz2 dabmux-409ec7f6899693fb7f1c141945f83fe6cfa41827.zip |
Move some constants aroundnext
Diffstat (limited to 'src/ConfigParser.cpp')
-rw-r--r-- | src/ConfigParser.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/ConfigParser.cpp b/src/ConfigParser.cpp index 74e627b..7d166b6 100644 --- a/src/ConfigParser.cpp +++ b/src/ConfigParser.cpp @@ -36,16 +36,13 @@ # include "config.h" #endif -#include "dabOutput/dabOutput.h" #include "utils.h" -#include "DabMux.h" -#include "ManagementServer.h" #include "input/Edi.h" #include "input/Prbs.h" #include "input/Zmq.h" #include "input/File.h" #include "input/Udp.h" -#include "Eti.h" +#include "fig/FIG0structs.h" #include <boost/property_tree/ptree.hpp> #include <boost/algorithm/string/classification.hpp> #include <boost/algorithm/string/split.hpp> @@ -63,6 +60,12 @@ using namespace std; using boost::property_tree::ptree; using boost::property_tree::ptree_error; +constexpr uint16_t DEFAULT_DATA_BITRATE = 384; +constexpr uint16_t DEFAULT_PACKET_BITRATE = 32; + +constexpr uint32_t DEFAULT_SERVICE_ID = 50; + + static void setup_subchannel_from_ptree(shared_ptr<DabSubchannel>& subchan, const ptree &pt, std::shared_ptr<dabEnsemble> ensemble, |