[AFV] Ref T739, use the Audio base class with the shared CAfvClient functions

This commit is contained in:
Klaus Basan
2019-10-16 12:40:10 +02:00
parent 383352f79c
commit 8d956436e7
11 changed files with 62 additions and 61 deletions

View File

@@ -217,9 +217,9 @@ namespace BlackGui
}
// Login
if (sGui && sGui->getIContextAudio())
if (sGui && sGui->getCContextAudioBase())
{
sGui->getIContextAudio()->setVoiceSetup(currentServer.getVoiceSetup());
sGui->getCContextAudioBase()->setVoiceSetup(currentServer.getVoiceSetup());
}
msg = sGui->getIContextNetwork()->connectToNetwork(currentServer, values.ownLiverySend, values.useLivery, values.ownAircraftModelStringSend, values.useModelString, partnerCs, mode);