Skip to content

Commit

Permalink
Add support for LADSPA audio processing
Browse files Browse the repository at this point in the history
LADSPA  is  a framework for sharing pluggable audio components and there
are numerous plugins to choose from. SvxLink now support using LADSPA
plugins to shape receiver audio.
  • Loading branch information
sm0svx committed Jan 3, 2024
1 parent 6e2169c commit 4246d03
Show file tree
Hide file tree
Showing 16 changed files with 1,368 additions and 15 deletions.
16 changes: 16 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,22 @@ add_definitions(${SIGC2_DEFINITIONS})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${SIGC2_CXX_FLAGS}")
set(LIBS ${LIBS} ${SIGC2_LIBRARIES})

find_package(LADSPA)
if(LADSPA_FOUND)
if(DEFINED LADSPA_VERSION_MAJOR)
include_directories(${LADSPA_INCLUDE_DIRS})
add_definitions(${LADSPA_DEFINITIONS})
else()
message(WARNING
"Found LADSPA but version could not be resolved. "
"Will proceed without LADSPA.")
endif()
else(LADSPA_FOUND)
message("-- LADSPA is an optional dependency. The build will complete")
message("-- without it but support for loading LADSPA plugins will")
message("-- be unavailable.")
endif(LADSPA_FOUND)

# Find the chown utility
include(FindCHOWN)

Expand Down
3 changes: 3 additions & 0 deletions src/async/ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@
* Bugfix Async::HttpServerConnection: EOL handling failed with newer
compilers.

* New class Async::AudioLADSPAPlugin which enable the use of LADSPA plugins to
process audio.



1.6.0 -- 01 Sep 2019
Expand Down
Loading

0 comments on commit 4246d03

Please sign in to comment.