MCPcopy Create free account
hub / github.com/cjcliffe/CubicSDR / handleMuteButton

Method handleMuteButton

src/AppFrame.cpp:2354–2364  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2352}
2353
2354void AppFrame::handleMuteButton() {
2355 if (demodMuteButton->modeChanged()) {
2356 int muteMode = demodMuteButton->getSelection();
2357 if (muteMode == -1) {
2358 wxGetApp().getDemodMgr().setLastMuted(false);
2359 } else if (muteMode == 1) {
2360 wxGetApp().getDemodMgr().setLastMuted(true);
2361 }
2362 demodMuteButton->clearModeChanged();
2363 }
2364}
2365
2366void AppFrame::handleSpectrumWaterfall() {
2367 if (spectrumCanvas->getViewState() &&

Callers

nothing calls this directly

Calls 4

modeChangedMethod · 0.80
getSelectionMethod · 0.80
setLastMutedMethod · 0.80
clearModeChangedMethod · 0.80

Tested by

no test coverage detected