aboutsummaryrefslogtreecommitdiffstats
path: root/src/DabModulator.cpp
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2023-07-19 22:12:18 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2023-07-19 22:12:18 +0200
commit343df6eb8792b3efd33f4426766865ae03ccf316 (patch)
treeb2c05c7adb4774a88d15a46ae040c3428194ed64 /src/DabModulator.cpp
parentd521d4f0c5ad3b663a322453c5798626081cb1f3 (diff)
downloaddabmod-343df6eb8792b3efd33f4426766865ae03ccf316.tar.gz
dabmod-343df6eb8792b3efd33f4426766865ae03ccf316.tar.bz2
dabmod-343df6eb8792b3efd33f4426766865ae03ccf316.zip
Add events
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 0fe9c6d..4a29132 100644
--- a/src/DabModulator.cpp
+++ b/src/DabModulator.cpp
@@ -438,7 +438,7 @@ const string DabModulator::get_parameter(const string& parameter) const
const json::map_t DabModulator::get_all_values() const
{
json::map_t map;
- map["rate"] = m_settings.outputRate;
- map["num_clipped_samples"] = m_formatConverter ? m_formatConverter->get_num_clipped_samples() : 0;
+ map["rate"].v = m_settings.outputRate;
+ map["num_clipped_samples"].v = m_formatConverter ? m_formatConverter->get_num_clipped_samples() : 0;
return map;
}