Ref T731, display TX/REC from AFV client in UI

This commit is contained in:
Klaus Basan
2019-09-26 22:32:17 +02:00
committed by Mat Sutcliffe
parent 088ef74392
commit 80a96d37fc
2 changed files with 36 additions and 6 deletions

View File

@@ -59,9 +59,6 @@ namespace BlackGui
//! Info string
void setInfo(const QString &info);
//! Transmit and receive state
void setTransmitReceive(bool tx1, bool rec1, bool tx2, bool rec2);
private:
//! Init
void init();
@@ -104,10 +101,17 @@ namespace BlackGui
void onResetVolumeIn();
void onResetVolumeOut();
void onReceivingCallsignsChanged(const BlackCore::Afv::Audio::TransceiverReceivingCallsignsChangedArgs &args);
void onUpdatedClientWithCockpitData();
BlackMisc::Audio::CAudioDeviceInfo getSelectedInputDevice() const;
BlackMisc::Audio::CAudioDeviceInfo getSelectedOutputDevice() const;
//! Transmit and receive state @{
void setTransmitReceiveInUi(bool tx1, bool rec1, bool tx2, bool rec2);
void setTransmitReceiveInUiFromVoiceClient();
//! @}
static BlackCore::Afv::Clients::CAfvClient *afvClient();
QScopedPointer<Ui::CAudioDeviceVolumeSetupComponent> ui;