Preparations for RSPduo support + Added new patrons!

This commit is contained in:
Ryzerth 2021-03-07 20:10:10 +01:00
parent abf5ad2eec
commit a714370eb2
3 changed files with 20 additions and 7 deletions

View File

@ -2,7 +2,7 @@
namespace sdrpp_credits {
const char* contributors[] = {
"Ryzerth (Author)",
"Alexandre Rouma (Author)",
"Aang23",
"Alexsey Shestacov",
"Aosync",
@ -25,9 +25,11 @@ namespace sdrpp_credits {
};
const char* patrons[] = {
"SignalsEverywhere",
"Daniele D'Agnelli",
"Jacob Boline",
"Lee Donaghy",
"Daniele D'Agnelli"
"Passion-Radio.com",
"SignalsEverywhere"
};
const int contributorCount = sizeof(contributors) / sizeof(char*);

View File

@ -219,9 +219,12 @@ I will soon publish a contributing.md listing the code style to use.
# Credits
## Patrons
* [SignalsEverywhere](https://signalseverywhere.com/)
* [Lee Donaghy](https://github.com/github)
* [Daniele D'Agnelli](https://linkedin.com/in/dagnelli)
* [Jacob Boline](https://twitter.com/W4IPAstroke5)
* [Lee Donaghy](https://github.com/github)
* [Passion-Radio.com](https://passion-radio.com/)
* [SignalsEverywhere](https://signalseverywhere.com/)
## Contributors
@ -243,4 +246,4 @@ I will soon publish a contributing.md listing the code style to use.
* [Dear ImGui (ocornut)](https://github.com/ocornut/imgui)
* [spdlog (gabime)](https://github.com/gabime/spdlog)
* [json (nlohmann)](https://github.com/nlohmann/json)
* [portaudio (PortAudio community)](http://www.portaudio.com/)
* [rtaudio](http://www.portaudio.com/)

View File

@ -253,6 +253,11 @@ public:
deviceOpen = true;
}
void selectShittyTuner(sdrplay_api_TunerSelectT tuner, sdrplay_api_RspDuo_AmPortSelectT amPort) {
// What the fuck?
if (openDev.tuner != tuner) { sdrplay_api_SwapRspDuoActiveTuner(openDev.dev, &openDev.tuner, amPort); }
}
private:
std::string getBandwdithScaled(double bw) {
@ -446,7 +451,7 @@ private:
}
void RSP1Menu(float menuWidth) {
ImGui::TextColored(ImVec4(1.0f, 0.0f, 0.0f, 1.0f), "Device currently unsupported");
// No options?
}
void RSP1AMenu(float menuWidth) {
@ -566,6 +571,9 @@ private:
bool rsp2_biasT = false;
int rsp2_antennaPort = 0;
// RSP Duo Options
// RSPdx Options
bool rspdx_fmNotch = false;
bool rspdx_dabNotch = false;