From a7a0be1b835c865c6a0692526d63247267aa9505 Mon Sep 17 00:00:00 2001 From: Ryzerth Date: Sun, 19 Jul 2020 18:23:00 +0200 Subject: [PATCH] new readme.md --- readme.md | 9 +++++++++ src/main_window.cpp | 10 ++++++++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index d2a0dc16..05ce7b3b 100644 --- a/readme.md +++ b/readme.md @@ -12,6 +12,15 @@ SDR++ is a cross-platform and open source SDR software with the aim of being blo * Multi-VFO * Plugins * Digital demodulators and decoders +* Quick replay (replay last n seconds, cool if you missed a short signal) + +## Small things to add +* Switchable bandwidth for demodulators +* Switchable audio output device and sample rate +* Recording +* Light theme (I know you weirdos exist lol) +* Waterfall color scheme editor +* # Building on Windows ## Requirements diff --git a/src/main_window.cpp b/src/main_window.cpp index e2e11dbe..fce138af 100644 --- a/src/main_window.cpp +++ b/src/main_window.cpp @@ -24,8 +24,6 @@ float* tempData; int fftSize = 8192 * 8; -bool dcbias = true; - io::SoapyWrapper soapy; SignalPath sigPath; @@ -104,6 +102,9 @@ int sampleRate = 1000000; bool playing = false; +bool dcbias = false; +bool _dcbias = false; + void setVFO(float freq) { float currentOff = wtf.getVFOOfset(); float currentTune = wtf.getCenterFrequency() + currentOff; @@ -232,6 +233,11 @@ void drawWindow() { bw = sampleRate; } + if (dcbias != _dcbias) { + _dcbias = dcbias; + sigPath.setDCBiasCorrection(dcbias); + } + ImVec2 vMin = ImGui::GetWindowContentRegionMin(); ImVec2 vMax = ImGui::GetWindowContentRegionMax();