You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[jj1bdx's fork of cmake-git-version-tracking](https://github.com/jj1bdx/cmake-git-version-tracking)
16
+
11
17
## Platforms tested
12
18
13
19
* Mac mini 2023 Apple Silicon (M2 Pro), macOS 14.2.1, Xcode 15.1 Command Line Tools
@@ -30,6 +36,21 @@ Intel Mac hardware is no longer supported by airspy-fmradion, although the autho
30
36
31
37
## Changes (including requirement changes)
32
38
39
+
* 20240107-0: Made the following changes:
40
+
- For broadcasting FM, show stereo 19kHz pilot signal level when detected.
41
+
- Remove displaying whether FM stereo pilot signal level is stable or unstable.
42
+
- Add Git info into the binary program built, with [cmake-git-version-tracking](https://github.com/andrew-hardin/cmake-git-version-tracking.git) (using jj1bdx's fork).
43
+
- Add compile command database support on CMakeLists.txt.
44
+
- Cleaned up old documents.
45
+
- Fixed the following bugs detected by clang-tidy:
46
+
*[ERR34-C. Detect errors when converting a string to a number](https://wiki.sei.cmu.edu/confluence/display/c/ERR34-C.+Detect+errors+when+converting+a+string+to+a+number)
47
+
- Use `Utility::parse_int()` instead of raw `atoi()`
48
+
*[DCL51-CPP. Do not declare or define a reserved identifier](https://wiki.sei.cmu.edu/confluence/display/cplusplus/DCL51-CPP.+Do+not+declare+or+define+a+reserved+identifier)
49
+
- Remove unused `_FILE_OFFSET_BITS`
50
+
- Fixed the bug of FileSource playback: the code did not terminate after the end of playback.
51
+
- main.cpp: add checking pull_end_reached() in the main loop.
52
+
- Set RtlSdrSource's default_block_length from 65536 to 16384, to prevent popping cracking sound (observed on Mac mini 2023).
53
+
- stat_rate calculation is redesigned by observation of actual SDR units (:i.e., Airspy HF+, Airspy R2, and RTL-SDR).
For using static analyzers such as [OCLint](https://oclint.org) and [Clangd](https://clangd.llvm.org), run the following commands:
177
+
### Static analysis of the code
178
+
179
+
For using static analyzers such as [OCLint](https://oclint.org) and [Clangd](https://clangd.llvm.org), use the `compile_commands.json` file built in `build/` directory, with the following commands:
179
180
180
181
```
181
182
cd build
182
183
ln -s `pwd`/compile_commands.json ..
183
-
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON ..
184
184
```
185
185
186
+
The following limitation is applicable:
187
+
188
+
* For *CMake 3.20 or later*, cmake-git-version-tracking code is intentionally removed from the compile command database. This is not applicable for the older CMake.
189
+
* Use [compdb](https://github.com/Sarcasm/compdb.git) for a more precise analysis including all the header files, with the following command: `compdb -p build/ list > compile_commands.json`
*[Takeru Ohta](https://github.com/sile), for his [Rust implementation](https://github.com/sile/dagc) of [Tisserand-Berviller AGC algorithm](https://hal.univ-lorraine.fr/hal-01397371/document)
455
460
*[Cameron Desrochers](https://github.com/cameron314), for his [readerwriterqueue](https://github.com/cameron314/readerwriterqueue) implementation of a single-producer-single-consumer lock-free queue for C++
456
461
*[Clayton Smith](https://github.com/argilo), for [a bugfix pull request to airspy-fmradion to find an uninitialized variable](https://github.com/jj1bdx/airspy-fmradion/pull/43) and his help during [bug tracking in VOLK](https://github.com/gnuradio/volk/pull/695).
462
+
*[Andrew Hardin](https://github.com/andrew-hardin), for [cmake-git-version-tracking](https://github.com/andrew-hardin/cmake-git-version-tracking.git)
457
463
458
464
## License
459
465
460
466
* As a whole package: GPLv3 (and later). See [LICENSE](LICENSE).
* Some source code files are stating GPL "v2 and later" license.
463
-
464
-
## Repository history
468
+
* Some source code files are stating GPL "v2 and later" license, and the MIT License.
465
469
466
-
* This repository is forked from [ngsoftfm-jj1bdx](https://github.com/jj1bdx/ngsoftfm-jj1bdx) 0.1.14 and merged with [airspfhf-fmradion](https://github.com/jj1bdx/airspyhf-fmradion).
0 commit comments