From 90ce82190b76a04322e4b044b16a6294a568e809 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Fri, 6 Jan 2023 00:29:33 +0100 Subject: [PATCH 1/4] updated readme --- readme.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 6c5a7a6b..209f9036 100644 --- a/readme.md +++ b/readme.md @@ -407,9 +407,8 @@ To solve, this, simply downgrade to libusb1.3 ## SDR++ crashes when starting a HackRF -If you also have the SoapySDR module loaded (not necessarily enabled), this is a bug in libhackrf. It's caused by libhackrf not checking if it's already initialized. -The solution until a fixed libhackrf version is released is to completely remove the soapy_source module from SDR++. To do this, delete `modules/soapy_source.dll` on windows -or `/usr/lib/sdrpp/plugins/soapy_source.so` on linux. +If you also have the SoapySDR module enabled, this is a bug in libhackrf. It's caused by libhackrf not checking if it's already initialized. +The solution until a fixed libhackrf version is released is to disable the soapy_source module from SDR++. For this, go into the "Module Manager" menu and click the `-` button next to the row with "soapy_source". ## Issue not listed here? From 55db98d1dfb8d77a8d79c4c0f5472af542f24203 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Fri, 6 Jan 2023 00:30:32 +0100 Subject: [PATCH 2/4] Update readme.md --- readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/readme.md b/readme.md index 209f9036..ec0ee081 100644 --- a/readme.md +++ b/readme.md @@ -408,7 +408,7 @@ To solve, this, simply downgrade to libusb1.3 ## SDR++ crashes when starting a HackRF If you also have the SoapySDR module enabled, this is a bug in libhackrf. It's caused by libhackrf not checking if it's already initialized. -The solution until a fixed libhackrf version is released is to disable the soapy_source module from SDR++. For this, go into the "Module Manager" menu and click the `-` button next to the row with "soapy_source". +The solution until a fixed libhackrf version is released is to disable the soapy_source module from SDR++. For this, go into the "Module Manager" menu and click the `-` button next to the row with "soapy_source". After that, restart SDR++. ## Issue not listed here? From 1ae1cc0e77d654eb561a7b36ea0339a9b22b2ac1 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Mon, 9 Jan 2023 05:51:58 +0100 Subject: [PATCH 3/4] Fixed missing samplerate update in new recorder --- misc_modules/recorder/src/wav.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/misc_modules/recorder/src/wav.cpp b/misc_modules/recorder/src/wav.cpp index bd545755..f78caf9e 100644 --- a/misc_modules/recorder/src/wav.cpp +++ b/misc_modules/recorder/src/wav.cpp @@ -130,6 +130,7 @@ namespace wav { // Validate samplerate if (!samplerate) { throw std::runtime_error("Samplerate must be non-zero"); } + _samplerate = samplerate; } void Writer::setFormat(Format format) { @@ -179,4 +180,4 @@ namespace wav { // Increment sample counter samplesWritten += count; } -} \ No newline at end of file +} From e3914ebdc688b0d111962fb6ac715c471b5d4780 Mon Sep 17 00:00:00 2001 From: AlexandreRouma Date: Mon, 9 Jan 2023 16:32:23 +0100 Subject: [PATCH 4/4] more macos CI fixes --- .github/workflows/build_all.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_all.yml b/.github/workflows/build_all.yml index 308bcee7..e19b536f 100644 --- a/.github/workflows/build_all.yml +++ b/.github/workflows/build_all.yml @@ -93,8 +93,8 @@ jobs: - name: Update brew repositories run: brew update - - name: Fix python - run: rm -f /usr/local/bin/2to3* /usr/local/bin/idle3* /usr/local/bin/pydoc3* /usr/local/bin/python3* /usr/local/bin/python3-config* + - name: Fix stuff + run: rm -f /usr/local/bin/2to3* /usr/local/bin/idle3* /usr/local/bin/pydoc3* /usr/local/bin/python3* /usr/local/bin/python3-config* && brew reinstall gettext - name: Install dependencies run: brew install libusb fftw glfw airspy airspyhf portaudio hackrf rtl-sdr libbladerf codec2 zstd && pip3 install mako