[AFV] Ref T739, check if COM integration is used and make sure to use TX/RX defaults if NOT

There was a bug that COM integration was used although it was disabled
This commit is contained in:
Klaus Basan
2019-10-16 17:33:38 +02:00
parent 725a798cba
commit f980fd02d5
4 changed files with 31 additions and 12 deletions

View File

@@ -184,7 +184,7 @@ namespace BlackCore
//! \threadsafe
//! @{
Q_INVOKABLE void setLoopBack(bool on) { m_loopbackOn = on; }
Q_INVOKABLE bool isLoopback() const { return m_loopbackOn; }
Q_INVOKABLE bool isLoopback() const { return m_loopbackOn; }
//! @}
//! Input volume in dB, +-18dB
@@ -324,7 +324,9 @@ namespace BlackCore
std::atomic_int m_connectMismatches { 0 };
std::atomic_bool m_isStarted { false };
std::atomic_bool m_loopbackOn { false };
std::atomic_bool m_winCoInitialized { false }; //!< Windows only CoInitializeEx
std::atomic_bool m_winCoInitialized { false }; //!< Windows only CoInitializeEx
std::atomic_bool m_integratedComUnit {false}; //!< is COM unit sychr
QDateTime m_startDateTimeUtc;
double m_inputVolumeDb = 0.0;