aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabModulator.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-07-19 20:26:36 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-07-19 20:26:36 +0200
commitd521d4f0c5ad3b663a322453c5798626081cb1f3 (patch)
tree1741d2a9d1ba69a351d034cc81815a73181a462a /src/DabModulator.cpp
parent8a547d0c0a84ea5a3464c7bc82a45f78aaae81c0 (diff)
downloaddabmod-d521d4f0c5ad3b663a322453c5798626081cb1f3.tar.gz
dabmod-d521d4f0c5ad3b663a322453c5798626081cb1f3.tar.bz2
dabmod-d521d4f0c5ad3b663a322453c5798626081cb1f3.zip
Change RC showjson command
Diffstat (limited to 'src/DabModulator.cpp')
-rw-r--r--src/DabModulator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/DabModulator.cpp b/src/DabModulator.cpp
index 5213d8d..0fe9c6d 100644
--- a/src/DabModulator.cpp
+++ b/src/DabModulator.cpp
@@ -435,9 +435,9 @@ const string DabModulator::get_parameter(const string& parameter) const
return ss.str();
}
-const RemoteControllable::map_t DabModulator::get_all_values() const
+const json::map_t DabModulator::get_all_values() const
{
- map_t map;
+ json::map_t map;
map["rate"] = m_settings.outputRate;
map["num_clipped_samples"] = m_formatConverter ? m_formatConverter->get_num_clipped_samples() : 0;
return map;