diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-12-06 16:21:59 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-12-06 16:21:59 +0100 |
commit | 029e9c757549e5d1e8923d10f704fbf31c0ac1ff (patch) | |
tree | e95d86439b22c10f0627621dc62e46a9a46e6068 | |
parent | 6ee07d97515ffd8899f3184ba37efaf092372982 (diff) | |
download | dabmod-029e9c757549e5d1e8923d10f704fbf31c0ac1ff.tar.gz dabmod-029e9c757549e5d1e8923d10f704fbf31c0ac1ff.tar.bz2 dabmod-029e9c757549e5d1e8923d10f704fbf31c0ac1ff.zip |
Add protection_level to ensemble in showjson
-rw-r--r-- | src/DabMod.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/DabMod.cpp b/src/DabMod.cpp index 2b75680..648b7ad 100644 --- a/src/DabMod.cpp +++ b/src/DabMod.cpp @@ -223,6 +223,7 @@ class ModulatorData : public RemoteControllable { (*service_map)["sid"].v = s.second.sid; (*service_map)["label"].v = FICDecoder::ConvertLabelToUTF8(s.second.label, nullptr); (*service_map)["bitrate"].v = s.second.subchannel.bitrate; + (*service_map)["protection_level"].v = s.second.subchannel.pl; json::value_t v; v.v = service_map; services.push_back(v); |