mirror of
https://github.com/cjcliffe/CubicSDR.git
synced 2026-06-08 08:55:07 -04:00
Now working on gcc4.8, x86-64 on windows
Had to make my own portaudio and rtl-sdr binaries. The available packages weren't compatible somehow. Also wxWidgets wxPack doesn't include OpenGL support but it's easy enough to compile.
This commit is contained in:
@@ -76,10 +76,10 @@ void ScopeCanvas::OnKeyDown(wxKeyEvent& event) {
|
||||
}
|
||||
|
||||
void ScopeCanvas::OnIdle(wxIdleEvent &event) {
|
||||
timer.update();
|
||||
frameTimer += timer.lastUpdateSeconds();
|
||||
if (frameTimer > 1.0/30.0) {
|
||||
// timer.update();
|
||||
// frameTimer += timer.lastUpdateSeconds();
|
||||
// if (frameTimer > 1.0/30.0) {
|
||||
Refresh(false);
|
||||
frameTimer = 0;
|
||||
}
|
||||
// frameTimer = 0;
|
||||
// }
|
||||
}
|
||||
|
||||
@@ -153,10 +153,10 @@ void SpectrumCanvas::setData(std::vector<signed char> *data) {
|
||||
}
|
||||
|
||||
void SpectrumCanvas::OnIdle(wxIdleEvent &event) {
|
||||
timer.update();
|
||||
frameTimer += timer.lastUpdateSeconds();
|
||||
if (frameTimer > 1.0/30.0) {
|
||||
// timer.update();
|
||||
// frameTimer += timer.lastUpdateSeconds();
|
||||
// if (frameTimer > 1.0/30.0) {
|
||||
Refresh(false);
|
||||
frameTimer = 0;
|
||||
}
|
||||
// frameTimer = 0;
|
||||
// }
|
||||
}
|
||||
|
||||
@@ -151,10 +151,10 @@ void WaterfallCanvas::setData(std::vector<signed char> *data) {
|
||||
}
|
||||
|
||||
void WaterfallCanvas::OnIdle(wxIdleEvent &event) {
|
||||
timer.update();
|
||||
frameTimer += timer.lastUpdateSeconds();
|
||||
if (frameTimer > 1.0/30.0) {
|
||||
// timer.update();
|
||||
// frameTimer += timer.lastUpdateSeconds();
|
||||
// if (frameTimer > 1.0/30.0) {
|
||||
Refresh(false);
|
||||
frameTimer = 0;
|
||||
}
|
||||
// frameTimer = 0;
|
||||
// }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user