mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 04:25:42 +08:00
Ref T731, correctly set "disable VHF simulation" checkbox
This commit is contained in:
committed by
Mat Sutcliffe
parent
cf6434f49b
commit
30158975b6
@@ -61,6 +61,8 @@ namespace BlackGui
|
|||||||
const int o = this->getOutValue();
|
const int o = this->getOutValue();
|
||||||
ui->hs_VolumeIn->setValue(i);
|
ui->hs_VolumeIn->setValue(i);
|
||||||
ui->hs_VolumeOut->setValue(o);
|
ui->hs_VolumeOut->setValue(o);
|
||||||
|
ui->cb_SetupAudioLoopback->setChecked(false);
|
||||||
|
ui->cb_DisableAudioEffects->setChecked(!as.isAudioEffectsEnabled());
|
||||||
|
|
||||||
// deferred init, because in a distributed swift system
|
// deferred init, because in a distributed swift system
|
||||||
// it takes a moment until the settings are sychronized
|
// it takes a moment until the settings are sychronized
|
||||||
@@ -205,8 +207,7 @@ namespace BlackGui
|
|||||||
void CAudioDeviceVolumeSetupComponent::reloadSettings()
|
void CAudioDeviceVolumeSetupComponent::reloadSettings()
|
||||||
{
|
{
|
||||||
const CSettings as(m_audioSettings.getThreadLocal());
|
const CSettings as(m_audioSettings.getThreadLocal());
|
||||||
ui->cb_DisableAudioEffects->setChecked(as.isAudioEffectsEnabled());
|
ui->cb_DisableAudioEffects->setChecked(!as.isAudioEffectsEnabled());
|
||||||
|
|
||||||
this->setInValue(as.getInVolume());
|
this->setInValue(as.getInVolume());
|
||||||
this->setOutValue(as.getInVolume());
|
this->setOutValue(as.getInVolume());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -128,7 +128,8 @@ namespace BlackMisc
|
|||||||
BLACK_METAMEMBER(notification),
|
BLACK_METAMEMBER(notification),
|
||||||
BLACK_METAMEMBER(notificationVolume),
|
BLACK_METAMEMBER(notificationVolume),
|
||||||
BLACK_METAMEMBER(outVolume),
|
BLACK_METAMEMBER(outVolume),
|
||||||
BLACK_METAMEMBER(inVolume)
|
BLACK_METAMEMBER(inVolume),
|
||||||
|
BLACK_METAMEMBER(audioEffects)
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user