Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi vfo upstream #1106

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
97fd035
rx_agc: New rx_agc implementation
vladisslav2011 Feb 18, 2022
1cdec3a
Implement new squelch-triggered audio recorder
vladisslav2011 Feb 17, 2022
81ab206
Initial multivfo implementation
vladisslav2011 Feb 17, 2022
b7abe36
fix float promotion
vladisslav2011 Jul 28, 2023
f2ca768
multi_vfo: prevent crash on zero offset
vladisslav2011 Feb 20, 2022
789ebe5
multi_vfo: remove disconnect/connect from delete_rx
vladisslav2011 Feb 21, 2022
a6d9e6b
multi_vfo, rx_agc: add 2 extra output ports bypassing panning for aud…
vladisslav2011 Aug 28, 2022
d70a276
multi_vfo: bypass panning while recording audio
vladisslav2011 Aug 28, 2022
9be271b
multi_vfo: Move UDP streamer to receiver_base
vladisslav2011 Nov 5, 2022
8125967
multi_vfo: New GUI action "Shift+left click" - add a VFO
vladisslav2011 Sep 12, 2022
5d5cdb4
multi_vfo: New GUI action "Shift+click" a bookmark, to set the center
vladisslav2011 Sep 12, 2022
e864f68
multi_vfo: Fix freqctrl erratic behavior after input rate change in
vladisslav2011 Sep 24, 2022
1861144
multi_vfo: remove duplicate signal-slot connection
vladisslav2011 Sep 29, 2022
3346ff8
multi_vfo: fix tag propagation in manual gain mode
vladisslav2011 Oct 7, 2022
8186f56
multi_vfo: per-VFO mute
vladisslav2011 Oct 7, 2022
df4c0d0
multi_vfo: Fix DEMOD_OFF startup freeze
vladisslav2011 Apr 20, 2023
eaf262b
multi_vfo: avoid resetting offset to zero on load demod
vladisslav2011 Jan 3, 2023
02448bc
multi_vfo: save noise blanker state to config file
vladisslav2011 Sep 25, 2022
d796b91
multi_vfo: add missing const modifiers
vladisslav2011 May 18, 2023
b373302
multi_vfo: prevent crash when switching from MODE_OFF
vladisslav2011 May 22, 2023
844119a
multi_vfo: fix disconnection
vladisslav2011 Jul 28, 2023
2c3a4bf
multi_vfo: fix inactive VFO rendering
vladisslav2011 Jul 28, 2023
dcd1444
multi_vfo: improve Qt6 compatibility
vladisslav2011 Jul 28, 2023
40be943
multi_vfo: fix overlay updates on bookmark click
vladisslav2011 Dec 11, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
sudo chown -R runner:admin /usr/local/
brew update
brew install --HEAD librtlsdr
brew install airspy airspyhf boost dylibbundler gnuradio hackrf libbladerf libserialport portaudio pybind11 six soapyremote uhd qt@6 || true
brew install airspy airspyhf boost dylibbundler gnuradio hackrf libbladerf libserialport portaudio pybind11 six soapyremote uhd libsndfile qt@6 || true

cd /tmp
git clone https://github.com/analogdevicesinc/libiio.git
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
# for https://github.com/actions/runner-images/issues/9272
sudo chown -R runner:admin /usr/local/
brew update
brew install airspy boost gnuradio hackrf libbladerf librtlsdr pybind11 six uhd qt@6 || true
brew install airspy boost gnuradio hackrf libbladerf librtlsdr pybind11 six uhd libsndfile qt@6 || true

cd /tmp
git clone https://gitea.osmocom.org/sdr/gr-osmosdr.git
Expand Down
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ endif()

include(FindPkgConfig)
find_package(Gnuradio-osmosdr REQUIRED)
find_package(SNDFILE REQUIRED)

set(GR_REQUIRED_COMPONENTS RUNTIME ANALOG AUDIO BLOCKS DIGITAL FILTER FFT PMT)
find_package(Gnuradio REQUIRED COMPONENTS analog audio blocks digital filter fft network)
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ To compile gqrx from source you need the following dependencies:
- Network
- Widgets
- Svg (runtime-only)
- libsndfile
- cmake version >= 3.2.0

Gqrx can be compiled from within Qt Creator or in a terminal:
Expand Down
34 changes: 34 additions & 0 deletions cmake/Modules/FindSNDFILE.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
find_package(PkgConfig)
PKG_CHECK_MODULES(PC_SNDFILE "sndfile")

FIND_PATH(SNDFILE_INCLUDE_DIRS
NAMES sndfile.h
HINTS ${PC_SNDFILE_INCLUDE_DIR}
${CMAKE_INSTALL_PREFIX}/include
PATHS
/usr/local/include
/usr/include
)

FIND_LIBRARY(SNDFILE_LIBRARIES
NAMES sndfile ${SNDFILE_LIBRARY_NAME}
HINTS ${PC_SNDFILE_LIBDIR}
${CMAKE_INSTALL_PREFIX}/lib
${CMAKE_INSTALL_PREFIX}/lib64
PATHS
${SNDFILE_INCLUDE_DIRS}/../lib
/usr/local/lib
/usr/lib
)

INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(SNDFILE DEFAULT_MSG SNDFILE_LIBRARIES SNDFILE_INCLUDE_DIRS)
MARK_AS_ADVANCED(SNDFILE_LIBRARIES SNDFILE_INCLUDE_DIRS)

if (SNDFILE_FOUND AND NOT TARGET sndfile::sndfile)
add_library(sndfile::sndfile INTERFACE IMPORTED)
set_target_properties(sndfile::sndfile PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${SNDFILE_INCLUDE_DIRS}"
INTERFACE_LINK_LIBRARIES "${SNDFILE_LIBRARIES}"
)
endif()
49 changes: 26 additions & 23 deletions resources/icons.qrc
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
<RCC>
<qresource prefix="/icons">
<file>icons/audio-card.svg</file>
<file>icons/bookmark-new.svg</file>
<file>icons/clear.svg</file>
<file>icons/clock.svg</file>
<file>icons/close.svg</file>
<file>icons/document.svg</file>
<file>icons/flash.svg</file>
<file>icons/folder.svg</file>
<file>icons/fullscreen.svg</file>
<file>icons/floppy.svg</file>
<file>icons/gqrx.svg</file>
<file>icons/help.svg</file>
<file>icons/info.svg</file>
<file>icons/play.svg</file>
<file>icons/power-off.svg</file>
<file>icons/record.svg</file>
<file>icons/refresh.svg</file>
<file>icons/settings.svg</file>
<file>icons/signal.svg</file>
<file>icons/tangeo-network-idle.svg</file>
<file>icons/terminal.svg</file>
</qresource>
<qresource prefix="/icons">
<file>icons/lock.svg</file>
<file>icons/remove.svg</file>
<file>icons/add.svg</file>
<file>icons/audio-card.svg</file>
<file>icons/bookmark-new.svg</file>
<file>icons/clear.svg</file>
<file>icons/clock.svg</file>
<file>icons/close.svg</file>
<file>icons/document.svg</file>
<file>icons/flash.svg</file>
<file>icons/folder.svg</file>
<file>icons/fullscreen.svg</file>
<file>icons/floppy.svg</file>
<file>icons/gqrx.svg</file>
<file>icons/help.svg</file>
<file>icons/info.svg</file>
<file>icons/play.svg</file>
<file>icons/power-off.svg</file>
<file>icons/record.svg</file>
<file>icons/refresh.svg</file>
<file>icons/settings.svg</file>
<file>icons/signal.svg</file>
<file>icons/tangeo-network-idle.svg</file>
<file>icons/terminal.svg</file>
</qresource>
</RCC>
25 changes: 25 additions & 0 deletions resources/icons/add.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading