From af2fb4933d06b4d619efcde23a879991165358f9 Mon Sep 17 00:00:00 2001 From: Klaus Basan Date: Sun, 13 Oct 2019 16:44:39 +0200 Subject: [PATCH] [AFV] Ref T730, init in/out dB values - avoid issue with unitialized values --- src/blackcore/afv/clients/afvclient.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/blackcore/afv/clients/afvclient.h b/src/blackcore/afv/clients/afvclient.h index b34fa61b7..3d89208be 100644 --- a/src/blackcore/afv/clients/afvclient.h +++ b/src/blackcore/afv/clients/afvclient.h @@ -304,9 +304,9 @@ namespace BlackCore std::atomic_bool m_winCoInitialized { false }; //!< Windows only CoInitializeEx QDateTime m_startDateTimeUtc; - double m_inputVolumeDb; - double m_outputVolumeDb; - double m_outputVolume = 1.0; + double m_inputVolumeDb = 0.0; + double m_outputVolumeDb = 0.0; + double m_outputVolume = 1.0; double m_maxDbReadingInPTTInterval = -100; QTimer *m_voiceServerPositionTimer = nullptr;