mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 12:47:03 +08:00
Add methods to read received callsigns from AFV
ref T729
This commit is contained in:
committed by
Mat Sutcliffe
parent
d9dcadcffa
commit
7ac962ed77
@@ -347,6 +347,24 @@ namespace BlackCore
|
||||
emit outputVolumePeakVU(m_outputVolumeStream.PeakVU);
|
||||
}
|
||||
|
||||
QString AFVClient::getReceivingCallsignsCom1()
|
||||
{
|
||||
if (soundcardSampleProvider)
|
||||
{
|
||||
return soundcardSampleProvider->getReceivingCallsigns(0);
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
||||
QString AFVClient::getReceivingCallsignsCom2()
|
||||
{
|
||||
if (soundcardSampleProvider)
|
||||
{
|
||||
return soundcardSampleProvider->getReceivingCallsigns(1);
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
||||
void AFVClient::updateTransceiversFromContext(const BlackMisc::Simulation::CSimulatedAircraft &aircraft, const BlackMisc::CIdentifier &originator)
|
||||
{
|
||||
Q_UNUSED(originator);
|
||||
|
||||
Reference in New Issue
Block a user