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

Method handleScopeProcessor

src/AppFrame.cpp:2341–2352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2339}
2340
2341void AppFrame::handleScopeProcessor() {
2342 if (scopeCanvas) {
2343 scopeCanvas->setPPMMode(demodTuner->isAltDown());
2344
2345 wxGetApp().getScopeProcessor()->setScopeEnabled(scopeCanvas->scopeVisible());
2346 wxGetApp().getScopeProcessor()->setSpectrumEnabled(scopeCanvas->spectrumVisible());
2347 wxGetApp().getAudioVisualQueue()->set_max_num_items(
2348 (scopeCanvas->scopeVisible() ? 1 : 0) + (scopeCanvas->spectrumVisible() ? 1 : 0));
2349
2350 wxGetApp().getScopeProcessor()->run();
2351 }
2352}
2353
2354void AppFrame::handleMuteButton() {
2355 if (demodMuteButton->modeChanged()) {

Callers

nothing calls this directly

Calls 10

setPPMModeMethod · 0.80
isAltDownMethod · 0.80
setScopeEnabledMethod · 0.80
getScopeProcessorMethod · 0.80
scopeVisibleMethod · 0.80
setSpectrumEnabledMethod · 0.80
spectrumVisibleMethod · 0.80
set_max_num_itemsMethod · 0.80
getAudioVisualQueueMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected