diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-01-29 11:29:43 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2018-01-29 11:29:43 +0100 |
commit | 21343ab11ca474bd4be5e9a328f1711359776601 (patch) | |
tree | 3de2116746f60b662565c9c009cf458b36f02f7a /src/MuxElements.h | |
parent | f93da1ac5da7081b097d1420609b1833663493cd (diff) | |
download | dabmux-21343ab11ca474bd4be5e9a328f1711359776601.tar.gz dabmux-21343ab11ca474bd4be5e9a328f1711359776601.tar.bz2 dabmux-21343ab11ca474bd4be5e9a328f1711359776601.zip |
PTy: add static/dynamic setting to configuration and RC
Diffstat (limited to 'src/MuxElements.h')
-rw-r--r-- | src/MuxElements.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/MuxElements.h b/src/MuxElements.h index c5a8faa..ba9941f 100644 --- a/src/MuxElements.h +++ b/src/MuxElements.h @@ -3,7 +3,7 @@ 2011, 2012 Her Majesty the Queen in Right of Canada (Communications Research Center Canada) - Copyright (C) 2017 + Copyright (C) 2018 Matthias P. Braendli, matthias.braendli@mpb.li http://www.opendigitalradio.org @@ -397,12 +397,19 @@ class DabService : public RemoteControllable { RC_ADD_PARAMETER(label, "Label and shortlabel [label,short]"); RC_ADD_PARAMETER(pty, "Programme Type"); + RC_ADD_PARAMETER(ptysd, "PTy Static/Dynamic [static,dynamic]"); } std::string uid; uint32_t id = 0; - unsigned char pty = 0; + struct pty_settings_t { + uint8_t pty = 0; // 0 means disabled + bool dynamic_no_static = false; + }; + + pty_settings_t pty_settings; + unsigned char language = 0; /* ASu (Announcement support) flags: this 16-bit flag field shall |