aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/Soapy.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/output/Soapy.cpp
parentd521d4f0c5ad3b663a322453c5798626081cb1f3 (diff)
downloaddabmod-343df6eb8792b3efd33f4426766865ae03ccf316.tar.gz
dabmod-343df6eb8792b3efd33f4426766865ae03ccf316.tar.bz2
dabmod-343df6eb8792b3efd33f4426766865ae03ccf316.zip
Add events
Diffstat (limited to 'src/output/Soapy.cpp')
-rw-r--r--src/output/Soapy.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/output/Soapy.cpp b/src/output/Soapy.cpp
index 4d33e39..7931860 100644
--- a/src/output/Soapy.cpp
+++ b/src/output/Soapy.cpp
@@ -183,10 +183,10 @@ double Soapy::get_bandwidth(void) const
SDRDevice::run_statistics_t Soapy::get_run_statistics(void) const
{
run_statistics_t rs;
- rs["underruns"] = underflows;
- rs["overruns"] = overflows;
- rs["timeouts"] = timeouts;
- rs["frames"] = num_frames_modulated;
+ rs["underruns"].v = underflows;
+ rs["overruns"].v = overflows;
+ rs["timeouts"].v = timeouts;
+ rs["frames"].v = num_frames_modulated;
return rs;
}