Skip to content

Commit

Permalink
attempt to build.
Browse files Browse the repository at this point in the history
  • Loading branch information
sannysanoff committed Mar 3, 2023
1 parent ed5fdbc commit e714629
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
4 changes: 3 additions & 1 deletion core/src/utils/flog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -261,9 +261,11 @@ namespace flog {
sprintf(buf, "0x%p", value);
return buf;
}
#ifdef __ANDROID__
std::string __toString__(long long value) {
char buf[32];
sprintf(buf, "%lld", value);
return buf;
}
}
}
#endif
3 changes: 3 additions & 0 deletions core/src/utils/flog.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@ namespace flog {
std::string __toString__(const char* value);
std::string __toString__(const void* value);
std::string __toString__(void* value);
#ifdef __ANDROID__
std::string __toString__(long long);
#endif

template <class T>
std::string __toString__(const T& value) {
return (std::string)value;
Expand Down
3 changes: 3 additions & 0 deletions decoder_modules/ft8_decoder/src/ft8_decoder.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>

#endif

#ifdef __APPLE__
#include <sys/wait.h>
#include <signal.h>
#include <fcntl.h>

#endif

// extern int four2a_d2c_cnt;
Expand Down
19 changes: 16 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,17 @@ Please note you must be logged in to GitHub to be able to download the artifacts

## Features compared to original project:

* Hermes Lite 2 (hl2) support -- note upstream has own version (hermes) as of Nov 2022
Major:

* Hermes Lite 2 (hl2) support -- separate from recently emerged upstream (hermes) version. Very basic SSB transmit option added.
* FT8/FT4 decoding (experimental) - from MSHV code, moderately tweaked .
* Noise reduction to benefit SSB/AM - wideband and audio frequency. Wideband is visible on the waterfall. Can turn on both. ***Logmmse*** algorithm is used.
* Performance Optimizations:
* waterfall drawing is greatly optimized at the OpenGL level, important for 4K monitors, eliminating huge CPU/GPU transfers on each frame.
* waterfall scaling is SSE-friendly, gained 300% speedup, still single-threaded.

Minor:

* Mouse wheel scrolling of sliders
* Unicode support in fonts, filenames and installation path (UTF-8), on Windows, too.
* Saving of zoom parameter between sessions
Expand All @@ -31,8 +40,7 @@ Please note you must be logged in to GitHub to be able to download the artifacts
* simultaneous multiple audio devices support
* ability to output sound on left or right channel only for particular audio device.
* Airspy HF+ Discovery - narrowing of baseband to hide attenuated parts.
* waterfall drawing is greatly optimized for CPU and GPU bandwidth, important for 4K monitors.
* small screen option / transmitter - for android landscape, makes screen layout more accessible. Tuning knob is there.
* small screen option + android landscape, makes screen layout more accessible. Tuning knob is there.

## Version log (newest last)

Expand Down Expand Up @@ -67,6 +75,11 @@ Please note you must be logged in to GitHub to be able to download the artifacts

* added experimental FT4/FT8 decoding from MSHV code, tweaked for SDR++. All credit goes to MSHV author and down the line.

2023.03.01

* was playing with slow resizing (zooming) of the waterfall. Found a place to optimize it using SSE vector operations in most deep loop.
Gained 300% speedup. Still single-threaded, multithreaded will come later.

## Feedback

``Have an issue? Works worse than original? File an [issue](https://github.com/sannysanoff/SDRPlusPlus/issues).
Expand Down

0 comments on commit e714629

Please sign in to comment.