Merge pull request #649 from AlexandreRouma/backend_abstraction

Backend abstraction and android support
This commit is contained in:
AlexandreRouma
2022-03-28 22:27:38 +02:00
committed by GitHub
115 changed files with 5747 additions and 1969 deletions

View File

@ -1,5 +1,4 @@
#include "radio_module.h"
#include <options.h>
SDRPP_MOD_INFO{
/* Name: */ "radio",
@ -11,7 +10,7 @@ SDRPP_MOD_INFO{
MOD_EXPORT void _INIT_() {
json def = json({});
config.setPath(options::opts.root + "/radio_config.json");
config.setPath(core::args["root"].s() + "/radio_config.json");
config.load(def);
config.enableAutoSave();
}

View File

@ -204,7 +204,7 @@ private:
if (!_this->enabled) { style::beginDisabled(); }
float menuWidth = ImGui::GetContentRegionAvailWidth();
float menuWidth = ImGui::GetContentRegionAvail().x;
ImGui::BeginGroup();
ImGui::Columns(4, CONCAT("RadioModeColumns##_", _this->name), false);