commit c04960505fe949b30bea1480915cf4a7ca65c05d
parent 8d7d52284878b552a9cc752ed19156997d531e56
Author: Johannes Lorenz <johannes89@ist-einmalig.de>
Date: Tue, 25 Apr 2017 20:28:34 +0200
Add missing zyn namespace around DSSI dummies.
Diffstat:
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
@@ -515,9 +515,10 @@ if (DssiEnable)
Output/DSSIControlDescription.h)
target_link_libraries(zynaddsubfx_dssi
- zynaddsubfx_core
+ zynaddsubfx_core
${OS_LIBRARIES}
- ${LIBLO_LIBRARIES}
+ ${LIBLO_LIBRARIES}
+ -Wl,--no-undefined
)
install(TARGETS zynaddsubfx_dssi LIBRARY DESTINATION ${PluginLibDir}/dssi/)
endif()
diff --git a/src/Output/DSSIaudiooutput.cpp b/src/Output/DSSIaudiooutput.cpp
@@ -30,6 +30,8 @@ using std::vector;
//Dummy variables and functions for linking purposes
const char *instance_name = 0;
+
+namespace zyn {
class WavFile;
namespace Nio {
bool start(void){return 1;};
@@ -46,6 +48,7 @@ namespace Nio {
string getSource(void){return "";}
string getSink(void){return "";}
}
+} // namespace zyn
//
// Static stubs for LADSPA member functions