| 2339 | } |
| 2340 | |
| 2341 | void 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 | |
| 2354 | void AppFrame::handleMuteButton() { |
| 2355 | if (demodMuteButton->modeChanged()) { |
nothing calls this directly
no test coverage detected