mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-23 23:17:46 +01:00
Fix building without SLV2.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2923 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
123399c2a8
commit
fce4c55b84
2 changed files with 4 additions and 1 deletions
|
|
@ -57,7 +57,6 @@ insert.cc
|
|||
io.cc
|
||||
jack_slave.cc
|
||||
ladspa_plugin.cc
|
||||
lv2_plugin.cc
|
||||
location.cc
|
||||
mtc_slave.cc
|
||||
named_selection.cc
|
||||
|
|
@ -103,6 +102,7 @@ arch_specific_objects = [ ]
|
|||
|
||||
osc_files = [ 'osc.cc' ]
|
||||
vst_files = [ 'vst_plugin.cc', 'session_vst.cc' ]
|
||||
lv2_files = [ 'lv2_plugin.cc' ]
|
||||
audiounit_files = [ 'audio_unit.cc' ]
|
||||
coreaudio_files = [ 'coreaudiosource.cc' ]
|
||||
extra_sources = [ ]
|
||||
|
|
@ -113,6 +113,7 @@ if ardour['VST']:
|
|||
ardour.Append(CCFLAGS="-DVST_SUPPORT", CPPPATH="#libs/fst")
|
||||
|
||||
if ardour['LV2']:
|
||||
extra_sources += lv2_files
|
||||
ardour.Append(CCFLAGS="-DHAVE_SLV2")
|
||||
|
||||
if ardour['LIBLO']:
|
||||
|
|
|
|||
|
|
@ -106,8 +106,10 @@ PluginManager::PluginManager ()
|
|||
ladspa_plugin_whitelist.push_back (2150); // tap pitch shifter
|
||||
}
|
||||
|
||||
#ifdef HAVE_SLV2
|
||||
_lv2_world = slv2_world_new();
|
||||
slv2_world_load_all(_lv2_world);
|
||||
#endif
|
||||
|
||||
refresh ();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue