MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / onToggleAutoGain

Method onToggleAutoGain

Default/Source/SourceWidget.cpp:1232–1241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1230}
1231
1232void
1233SourceWidget::onToggleAutoGain(void)
1234{
1235 this->panelConfig->gainPresetEnabled = this->ui->gainPresetCheck->isChecked();
1236
1237 if (this->panelConfig->gainPresetEnabled)
1238 this->applyCurrentAutogain();
1239
1240 this->refreshUi();
1241}
1242
1243void
1244SourceWidget::onSelectAutoGain(void)

Callers

nothing calls this directly

Calls 2

applyCurrentAutogainMethod · 0.95
refreshUiMethod · 0.95

Tested by

no test coverage detected