Commit Graph

2574 Commits

Author SHA1 Message Date
Clayton Smith
179183b382 Add workaround for libfreetype linking 2023-09-20 00:43:28 -04:00
Clayton Smith
cc30d26272
Merge pull request #1279 from gqrx-sdr/init-fft-window
Initialize d_fftWindowType to zero
2023-09-18 11:59:03 -04:00
Clayton Smith
39d1761658 Initialize d_fftWindowType to zero
This is necessary because the default index of the FFT window combo box
is zero, and DockFft::readSettings only sets the FFT window when the
combo box's index changes.
2023-09-17 22:54:36 -04:00
Clayton Smith
d7219a66db
Merge pull request #1248 from willcode/feature/zoom-slider-log-scale
dockfft: zoom slider uses log scale with max 100000x
2023-08-01 22:49:07 -04:00
Clayton Smith
c6e780678c Update news 2023-08-01 22:48:28 -04:00
Jeff Long
3ebb0512b3 dockfft: zoom slider uses log scale with max 100000x
Also, zoom and pan are constrained so no "empty space" is shown
at the sides of the plot.

Signed-off-by: Jeff Long <willcode4@gmail.com>
2023-07-27 15:22:49 -04:00
Clayton Smith
4ce46703bb
Merge pull request #1266 from gqrx-sdr/fix-double-promotion-clang
Fix double promotion warnings reported by Clang
2023-07-24 23:54:24 -04:00
Clayton Smith
5c932ba60e Fix double promotion warnings report by Clang 2023-07-24 17:45:57 -04:00
Clayton Smith
b886467ac1
Merge pull request #1265 from willcode/fix/hang-on-narrow-filter
nbrx: set minimum buffer size for input to rx_filter
2023-07-24 16:28:56 -04:00
Clayton Smith
7093dc9865 Update news 2023-07-24 16:08:31 -04:00
Clayton Smith
a34509078a Decrease minimum filter buffer size 2023-07-24 16:06:24 -04:00
Jeff Long
e534fbd3e0 nbrx: set minimum buffer size for input to rx_filter
Width of rx_filter can be adjusted at run time, so the input buffer (the
output buffer of nb) needs to be large enough for the longest history
required by the filter (Narrow/Sharp). This setting may not be reliable
for GR prior to v3.10.7.0.

Signed-off-by: Jeff Long <willcode4@gmail.com>
2023-07-21 07:27:37 -04:00
Clayton Smith
484917c410 Fix signedness warning 2023-06-27 19:18:21 -04:00
Clayton Smith
b69ed0bde4 Fix double promotion warnings 2023-06-27 19:11:36 -04:00
Clayton Smith
e5b9fafd6c
Merge pull request #1263 from gqrx-sdr/cplotter-draw-float
Switch to float in CPlotter::draw
2023-06-26 16:14:15 -04:00
Clayton Smith
789c330718 Switch to float in CPlotter::draw 2023-06-23 18:46:19 -04:00
Clayton Smith
9da761638d
Merge pull request #1262 from willcode/perf/volk-optimization
plotter: use volk kernels for some calculations
2023-06-22 22:00:27 -04:00
Jeff Long
5d0b4cf882 plotter: use volk kernels for some calculations
Signed-off-by: Jeff Long <willcode4@gmail.com>
2023-06-22 21:38:21 -04:00
Clayton Smith
1f1f6d6378
Merge pull request #1261 from gqrx-sdr/fix-double-promotion-3
Fix a double promotion warning in setNewFftData
2023-06-22 19:47:36 -04:00
Clayton Smith
d9cfe50cba Fix a double promotion warning in setNewFftData 2023-06-22 16:11:35 -04:00
Clayton Smith
dfde420f02
Merge pull request #1260 from gqrx-sdr/fix-double-promotion-2
Fix some more double promotion warnings
2023-06-22 09:53:04 -04:00
Clayton Smith
10f49ee2a0 Fix some more double promotion warnings 2023-06-22 09:48:41 -04:00
Clayton Smith
c2789458c8
Merge pull request #1259 from willcode/fix/plotter-off-by-half
plotter: draw on pixel center for cleaner picture
2023-06-21 20:33:47 -04:00
Jeff Long
d2f2500f89 plotter: draw on pixel center for cleaner picture
In the Qt coordinate system, a shift of 0.5 is required to draw
on pixel centers. Without this shift, lines come out more than
one pixel wide.

In the main drawing routine, shift by (0.5, 0.5). In the overlay
drawing routine, shift by (-0.5, -0.5) since the result is copied
by the main drawing routine (the shifts cancel out).

Signed-off-by: Jeff Long <willcode4@gmail.com>
2023-06-21 19:36:28 -04:00
Clayton Smith
3fa659591e
Merge pull request #1242 from willcode/feature/limit-plot-rate
plotter: limit plot update rate
2023-06-21 16:39:51 -04:00
Clayton Smith
1456793888 Update news 2023-06-21 16:38:50 -04:00
Clayton Smith
21a3432139
Merge pull request #1247 from willcode/fix/plotter-redraw-after-z
plotter: more responsive overlay redraws
2023-06-18 11:28:53 -04:00
Clayton Smith
405aad61bb
Merge pull request #1258 from gqrx-sdr/fix-saved-waterfall-y
Calculate width of Y axis in saved waterfall
2023-06-18 10:11:28 -04:00
Jeff Long
0d7c82e239 dockfft: add 333 fps rate for plotter
Signed-off-by: Jeff Long <willcode4@gmail.com>
2023-06-18 10:10:33 -04:00
Jeff Long
32172d3ca5 plotter: raise rate limit, use different criteria for histogram calc
Signed-off-by: Jeff Long <willcode4@gmail.com>
2023-06-18 10:10:33 -04:00
Jeff Long
5e6855fc56 plotter: limit plot update rate
Helps performance, and faster looks worse on the screen.

Signed-off-by: Jeff Long <willcode4@gmail.com>
2023-06-18 10:10:33 -04:00
Jeff Long
6425276515 plotter: more responsive overlay redraws
Do not wait for the next fft frame to redraw overlay elements

Signed-off-by: Jeff Long <willcode4@gmail.com>
2023-06-18 10:09:47 -04:00
Clayton Smith
549a85a2b7 Calculate width of Y axis in saved waterfall 2023-06-18 09:13:02 -04:00
Clayton Smith
09a8de5f6b Fix compilation 2023-06-18 08:51:56 -04:00
Clayton Smith
4603167149 Eliminate some implicit promotions to double 2023-06-18 00:47:50 -04:00
Clayton Smith
1f17910a26 Remove unnecessary function 2023-06-17 23:57:46 -04:00
Clayton Smith
a9725de836
Merge pull request #1255 from gqrx-sdr/wav-file-attenuation
Add 6 dB attentuation to WAV file recordings
2023-06-17 23:14:34 -04:00
Clayton Smith
4258dc1771 Add 6 dB attentuation to WAV file recordings 2023-06-17 23:12:41 -04:00
Clayton Smith
f8572673e5
Merge pull request #1254 from gqrx-sdr/increase-nfm-default-dev
Increase default narrow FM devation to 5 kHz
2023-06-17 23:11:02 -04:00
Clayton Smith
8887007bb5 Increase default narrow FM devation to 5 kHz 2023-06-17 14:48:43 -04:00
Clayton Smith
996737cd79
Merge pull request #1252 from gqrx-sdr/fix-sniffer-buffer-overflow
Fix buffer overflow in sniffer block
2023-06-01 18:13:00 -04:00
Clayton Smith
96101db112 Fix buffer overflow in sniffer block 2023-06-01 17:10:01 -04:00
Clayton Smith
cd5cc66c16
Merge pull request #1251 from willcode/fix/and-not-and
plotter: change "and" to "&&"
2023-05-31 08:37:03 -04:00
Jeff Long
6f82c0b2ef plotter: change "and" to "&&"
Signed-off-by: Jeff Long <willcode4@gmail.com>
2023-05-31 07:52:38 -04:00
Clayton Smith
c3ada93fb9
Merge pull request #1245 from gqrx-sdr/waterfall-span-ms
Store waterfall span setting in milliseconds
2023-05-14 16:37:40 -04:00
Clayton Smith
8cd241d574 Store waterfall span setting in milliseconds 2023-05-14 15:16:40 -04:00
Clayton Smith
e69d324faa Update news 2023-05-14 13:04:06 -04:00
Clayton Smith
91a42eea65 Add fallback to read old fft_window setting 2023-05-14 13:04:00 -04:00
Clayton Smith
6a8c65b122
Merge pull request #1243 from willcode/feature/dockfft-setting-strings
dockfft: use strings for config file settings
2023-05-14 13:03:32 -04:00
Jeff Long
eb769dc7ae dockfft: use strings for config file settings
- plot_y_unit
- plot_x_unit
- plot_mode
- waterfall_mode

Signed-off-by: Jeff Long <willcode4@gmail.com>
2023-05-14 04:29:59 -04:00