diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-05-05 14:26:16 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2023-05-05 14:26:16 +0200 |
commit | 829863ab82ca3743c64c76310af5eebcaab1fc84 (patch) | |
tree | 252ccff918c93d346a33b5e652f1a28a0f88fb8e /src | |
parent | 8bb7afbdc7cab7010c5bfb5a0b750a62d953aedf (diff) | |
download | dabmod-829863ab82ca3743c64c76310af5eebcaab1fc84.tar.gz dabmod-829863ab82ca3743c64c76310af5eebcaab1fc84.tar.bz2 dabmod-829863ab82ca3743c64c76310af5eebcaab1fc84.zip |
Dexter: Only do handle_hw_time when synchronous is enabled
Diffstat (limited to 'src')
-rw-r--r-- | src/output/Dexter.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/output/Dexter.cpp b/src/output/Dexter.cpp index 25de030..c1d8d2f 100644 --- a/src/output/Dexter.cpp +++ b/src/output/Dexter.cpp @@ -620,9 +620,13 @@ size_t Dexter::receive_frame( bool Dexter::is_clk_source_ok() { - handle_hw_time(); - - return m_clock_state != DexterClockState::Startup; + if (m_conf.enableSync) { + handle_hw_time(); + return m_clock_state != DexterClockState::Startup; + } + else { + return true; + } } const char* Dexter::device_name(void) const |