mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2024-11-27 06:08:37 -05:00
Move processor call out of scope canvas
This commit is contained in:
parent
8b48b4e449
commit
aa6e612d6a
@ -679,7 +679,7 @@ void AppFrame::OnTimer(wxTimerEvent& event) {
|
|||||||
|
|
||||||
scopeCanvas->setPPMMode(demodTuner->isAltDown());
|
scopeCanvas->setPPMMode(demodTuner->isAltDown());
|
||||||
|
|
||||||
|
wxGetApp().getScopeProcessor()->run();
|
||||||
wxGetApp().getSpectrumDistributor()->run();
|
wxGetApp().getSpectrumDistributor()->run();
|
||||||
|
|
||||||
SpectrumVisualProcessor *proc = wxGetApp().getSpectrumProcesor();
|
SpectrumVisualProcessor *proc = wxGetApp().getSpectrumProcesor();
|
||||||
|
@ -52,7 +52,6 @@ void ScopeCanvas::OnPaint(wxPaintEvent& WXUNUSED(event)) {
|
|||||||
wxPaintDC dc(this);
|
wxPaintDC dc(this);
|
||||||
const wxSize ClientSize = GetClientSize();
|
const wxSize ClientSize = GetClientSize();
|
||||||
|
|
||||||
wxGetApp().getScopeProcessor()->run();
|
|
||||||
if (!inputData.empty()) {
|
if (!inputData.empty()) {
|
||||||
ScopeRenderData *avData;
|
ScopeRenderData *avData;
|
||||||
inputData.pop(avData);
|
inputData.pop(avData);
|
||||||
|
Loading…
Reference in New Issue
Block a user