refactor: Remove unused PTT enum

Currently, the PTT can only be activated on the active frequency
anyway.
This commit is contained in:
Lars Toenning
2024-04-22 08:41:22 +02:00
parent 18d0b1eefc
commit a203fc0c1f
11 changed files with 9 additions and 79 deletions

View File

@@ -17,7 +17,6 @@
#include "blacksound/sampleprovider/volumesampleprovider.h"
#include "blackmisc/aviation/comsystem.h"
#include "blackmisc/audio/audiosettings.h"
#include "blackmisc/audio/ptt.h"
#include "blackmisc/audio/audiodeviceinfo.h"
#include "blackmisc/logcategories.h"
#include "blackmisc/identifiable.h"
@@ -205,12 +204,9 @@ namespace BlackCore::Afv::Clients
//! \threadsafe
void updateFromOwnAircraft(const BlackMisc::Simulation::CSimulatedAircraft &aircraft, bool withSignals = true);
//! @{
//! Push to talk
//! \threadsafe
Q_INVOKABLE void setPtt(bool active);
void setPttForCom(bool active, BlackMisc::Audio::PTTCOM com);
//! @}
//! @{
//! Loopback
@@ -298,7 +294,7 @@ namespace BlackCore::Afv::Clients
void updatedFromOwnAircraftCockpit();
//! PTT status in this particular AFV client
void ptt(bool active, BlackMisc::Audio::PTTCOM pttcom, const BlackMisc::CIdentifier &identifier);
void ptt(bool active, const BlackMisc::CIdentifier &identifier);
//! @{
//! VU levels