mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 02:45:33 +08:00
Ref T730, AFV client fixes
* correct quint32 for frequency * make sure frequencies are not updated twice, only update position * re-init transceivers if stopped and started again
This commit is contained in:
committed by
Mat Sutcliffe
parent
5c56715c28
commit
91b65fa2b6
@@ -186,10 +186,12 @@ namespace BlackCore
|
||||
QString getReceivingCallsignsCom1();
|
||||
QString getReceivingCallsignsCom2();
|
||||
|
||||
void input_OpusDataAvailable();
|
||||
void inputOpusDataAvailable();
|
||||
|
||||
void onPositionUpdateTimer();
|
||||
void onSettingsChanged();
|
||||
|
||||
void updateTransceivers();
|
||||
void updateTransceivers(bool updateFrequencies = true);
|
||||
void updateTransceiversFromContext(const BlackMisc::Simulation::CSimulatedAircraft &aircraft, const BlackMisc::CIdentifier &originator);
|
||||
|
||||
static constexpr int SampleRate = 48000;
|
||||
@@ -234,6 +236,7 @@ namespace BlackCore
|
||||
Audio::InputVolumeStreamArgs m_inputVolumeStream;
|
||||
Audio::OutputVolumeStreamArgs m_outputVolumeStream;
|
||||
|
||||
void initTransceivers();
|
||||
void initWithContext();
|
||||
static bool hasContext();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user