kopia lustrzana https://gitlab.com/eliggett/wfview
Silently ignore server audio issues if server is not enabled.
rodzic
242d39ce39
commit
b3756391c1
|
@ -6375,6 +6375,7 @@ void wfmain::setAudioDevicesUI()
|
|||
if (!serverConfig.rigs.isEmpty())
|
||||
|
||||
{
|
||||
if (serverConfig.enabled)
|
||||
qInfo(logGui()) << "Got Server Audio Input: " << serverConfig.rigs.first()->rxAudioSetup.name.toLocal8Bit();
|
||||
|
||||
serverConfig.rigs.first()->rxAudioSetup.type = prefs.audioSystem;
|
||||
|
@ -6386,9 +6387,11 @@ void wfmain::setAudioDevicesUI()
|
|||
ui->serverRXAudioInputCombo->setCurrentIndex(serverAudioInputIndex);
|
||||
}
|
||||
else {
|
||||
if (serverConfig.enabled)
|
||||
qWarning(logGui()) << "Server audio input NOT FOUND " << serverConfig.rigs.first()->rxAudioSetup.name.toLocal8Bit() << "not selecting default";
|
||||
}
|
||||
|
||||
if (serverConfig.enabled)
|
||||
qInfo(logGui()) << "Got Server Audio Output: " << serverConfig.rigs.first()->txAudioSetup.name.toLocal8Bit();
|
||||
|
||||
ui->serverTXAudioOutputCombo->setCurrentIndex(defaultAudioOutputIndex);
|
||||
|
@ -6397,6 +6400,7 @@ void wfmain::setAudioDevicesUI()
|
|||
ui->serverTXAudioOutputCombo->setCurrentIndex(serverAudioOutputIndex);
|
||||
}
|
||||
else {
|
||||
if (serverConfig.enabled)
|
||||
qWarning(logGui()) << "Server audio output NOT FOUND " << serverConfig.rigs.first()->txAudioSetup.name.toLocal8Bit() << "not selecting default";
|
||||
}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue