aboutsummaryrefslogtreecommitdiffstats
path: root/src/output/Dexter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/output/Dexter.cpp')
-rw-r--r--src/output/Dexter.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/output/Dexter.cpp b/src/output/Dexter.cpp
index 132636c..e52f774 100644
--- a/src/output/Dexter.cpp
+++ b/src/output/Dexter.cpp
@@ -470,20 +470,20 @@ SDRDevice::run_statistics_t Dexter::get_run_statistics(void) const
run_statistics_t rs;
{
std::unique_lock<std::mutex> lock(m_attr_thread_mutex);
- rs["underruns"] = underflows;
+ rs["underruns"].v = underflows;
}
- rs["latepackets"] = num_late;
- rs["frames"] = num_frames_modulated;
+ rs["latepackets"].v = num_late;
+ rs["frames"].v = num_frames_modulated;
- rs["in_holdover_since"] = 0;
+ rs["in_holdover_since"].v = 0;
switch (m_clock_state) {
case DexterClockState::Startup:
- rs["clock_state"] = "startup"; break;
+ rs["clock_state"].v = "startup"; break;
case DexterClockState::Normal:
- rs["clock_state"] = "normal"; break;
+ rs["clock_state"].v = "normal"; break;
case DexterClockState::Holdover:
- rs["clock_state"] = "holdover";
- rs["in_holdover_since"] = m_holdover_since_t;
+ rs["clock_state"].v = "holdover";
+ rs["in_holdover_since"].v = m_holdover_since_t;
break;
}