mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2025-06-25 12:07:49 +02:00
New spyserver source
This commit is contained in:
@ -178,6 +178,8 @@ int sdrpp_main(int argc, char *argv[]) {
|
||||
defConfig["moduleInstances"]["SDRplay Source"]["enabled"] = true;
|
||||
defConfig["moduleInstances"]["SoapySDR Source"]["module"] = "soapy_source";
|
||||
defConfig["moduleInstances"]["SoapySDR Source"]["enabled"] = true;
|
||||
defConfig["moduleInstances"]["SpyServer Source"]["module"] = "spyserver_source";
|
||||
defConfig["moduleInstances"]["SpyServer Source"]["enabled"] = true;
|
||||
defConfig["moduleInstances"]["PlutoSDR Source"]["module"] = "plutosdr_source";
|
||||
defConfig["moduleInstances"]["PlutoSDR Source"]["enabled"] = true;
|
||||
|
||||
|
@ -343,6 +343,8 @@ void MainWindow::draw() {
|
||||
|
||||
ImGui::SameLine();
|
||||
|
||||
bool tmpPlaySate = playing;
|
||||
if (playButtonLocked && !tmpPlaySate) { style::beginDisabled(); }
|
||||
if (playing) {
|
||||
ImGui::PushID(ImGui::GetID("sdrpp_stop_btn"));
|
||||
if (ImGui::ImageButton(icons::STOP, ImVec2(30, 30), ImVec2(0, 0), ImVec2(1, 1), 5) || ImGui::IsKeyPressed(GLFW_KEY_END, false)) {
|
||||
@ -364,6 +366,7 @@ void MainWindow::draw() {
|
||||
}
|
||||
ImGui::PopID();
|
||||
}
|
||||
if (playButtonLocked && !tmpPlaySate) { style::endDisabled(); }
|
||||
|
||||
ImGui::SameLine();
|
||||
|
||||
|
@ -32,6 +32,7 @@ public:
|
||||
bool isPlaying();
|
||||
|
||||
bool lockWaterfallControls = false;
|
||||
bool playButtonLocked = false;
|
||||
|
||||
Event<bool> onPlayStateChange;
|
||||
Event<bool> onInitComplete;
|
||||
|
Reference in New Issue
Block a user