mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
Remove all obsolete vatlib voice classes
This commit is contained in:
committed by
Mat Sutcliffe
parent
c759d45bb0
commit
8656131eb1
@@ -12,9 +12,7 @@
|
||||
#include "blackcore/context/contextownaircraft.h" // for COM integration
|
||||
#include "blackcore/context/contextsimulator.h" // for COM intergration
|
||||
#include "blackcore/application.h"
|
||||
#include "blackcore/audiodevice.h"
|
||||
#include "blackcore/corefacade.h"
|
||||
#include "blackcore/voice.h"
|
||||
#include "blackmisc/simulation/simulatedaircraft.h"
|
||||
#include "blackmisc/audio/audiodeviceinfo.h"
|
||||
#include "blackmisc/audio/notificationsounds.h"
|
||||
@@ -303,29 +301,6 @@ namespace BlackCore
|
||||
this->setVoiceTransmission(enabled, COMActive);
|
||||
}
|
||||
|
||||
void CContextAudio::onConnectionStatusChanged(
|
||||
IVoiceChannel::ConnectionStatus oldStatus,
|
||||
IVoiceChannel::ConnectionStatus newStatus)
|
||||
{
|
||||
Q_UNUSED(oldStatus)
|
||||
|
||||
switch (newStatus)
|
||||
{
|
||||
case IVoiceChannel::Connected:
|
||||
break;
|
||||
case IVoiceChannel::Disconnecting: break;
|
||||
case IVoiceChannel::Connecting: break;
|
||||
case IVoiceChannel::ConnectingFailed:
|
||||
case IVoiceChannel::DisconnectedError:
|
||||
CLogMessage(this).warning(u"Voice channel disconnecting error");
|
||||
Q_FALLTHROUGH();
|
||||
case IVoiceChannel::Disconnected:
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void CContextAudio::changeDeviceSettings()
|
||||
{
|
||||
const QString inputDeviceName = m_inputDeviceSetting.get();
|
||||
|
||||
Reference in New Issue
Block a user