diff --git a/src/blackcore/voice_vatlib.cpp b/src/blackcore/voice_vatlib.cpp index 144d5a16d..e18a12dcb 100644 --- a/src/blackcore/voice_vatlib.cpp +++ b/src/blackcore/voice_vatlib.cpp @@ -19,7 +19,7 @@ namespace BlackCore CVoiceVatlib::CVoiceVatlib(QObject *parent) : IVoice(parent), m_voice(nullptr), - m_audioOutput(nullptr), + // m_audioOutput(nullptr), // removed #227 m_inputSquelch(-1), m_micTestResult(Cvatlib_Voice_Simple::agc_Ok), m_isAudioLoopbackEnabled(false), @@ -40,7 +40,7 @@ namespace BlackCore { // we use reset here until issue #277 is resolved // easier to find root cause - m_audioOutput.reset(new QAudioOutput()); + // m_audioOutput.reset(new QAudioOutput()); m_voice.reset(Cvatlib_Voice_Simple::Create()); m_voice->Setup(true, 3290, 2, 1, onRoomStatusUpdate, this); m_voice->GetInputDevices(onInputHardwareDeviceReceived, this); @@ -54,7 +54,7 @@ namespace BlackCore this->m_outputEnabled.insert(COM2, true); this->m_currentInputDevice = this->defaultAudioInputDevice(); this->m_currentOutputDevice = this->defaultAudioOutputDevice(); - this->m_audioOutput->setVolume(1.0); // make sure the overall sound is not muted + // this->m_audioOutput->setVolume(1.0); // make sure the overall sound is not muted // do processing this->startTimer(10); diff --git a/src/blackcore/voice_vatlib.h b/src/blackcore/voice_vatlib.h index e7987678a..230e39fb7 100644 --- a/src/blackcore/voice_vatlib.h +++ b/src/blackcore/voice_vatlib.h @@ -226,7 +226,7 @@ namespace BlackCore }; QScopedPointer m_voice; - QScopedPointer m_audioOutput; + // QScopedPointer m_audioOutput; #227 BlackMisc::Aviation::CCallsign m_aircraftCallsign; /*!< own callsign to join voice rooms */ BlackMisc::Audio::CVoiceRoomList m_voiceRooms; BlackMisc::Audio::CAudioDeviceList m_devices; /*!< in and output devices */