forked from gqrx-sdr/gqrx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement new squelch-triggered audio recorder
Move wav_sink into receiver_base_cf Move file name generation to receiver_base_cf Switch to pwr_squelch Pull in wavfile_sink and fix gqrx-sdr#1075 Implement new squelch-triggered audio recorder while keeping in mind that gqrx-sdr#946 would be next. Add tag processing to wavfile_sink_gqrx. Implement event-driven GUI updates. Add GUI options Make it possible to switch betweensimple_squelch and pwr_squelch implementations to improve performace on weak systems Update build dependencies (add libsndfile)
- Loading branch information
1 parent
29534ef
commit d30e5d7
Showing
25 changed files
with
1,485 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.