diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2011-10-18 15:08:42 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2011-10-18 15:08:42 +0000 |
commit | 4aeebb914eedf9279e4904786ce42518611de137 (patch) | |
tree | bd703e27352128971955ceae57d1762aeb9698bc /libs/ardour/plugin.cc | |
parent | 41dd8bd811f2fea4ecb048b8075e06f9222294ce (diff) |
changes for OS X support: change waf config define to COREAUDIO_SUPPORT, remove PluginInsert call to IO::PortCountChanged, remove use of explicit Carbon linkage, fix up AudioUnit internals to actually work (Cocoa GUIs still currently broken)
git-svn-id: svn://localhost/ardour2/branches/3.0@10224 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/plugin.cc')
-rw-r--r-- | libs/ardour/plugin.cc | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/libs/ardour/plugin.cc b/libs/ardour/plugin.cc index 12760e5d6e..21ad91ff0e 100644 --- a/libs/ardour/plugin.cc +++ b/libs/ardour/plugin.cc @@ -45,7 +45,7 @@ #include "ardour/ladspa_plugin.h" #include "ardour/plugin_manager.h" -#ifdef HAVE_AUDIOUNITS +#ifdef AUDIOUNIT_SUPPORT #include "ardour/audio_unit.h" #endif @@ -145,7 +145,7 @@ ARDOUR::find_plugin(Session& session, string identifier, PluginType type) break; #endif -#ifdef HAVE_AUDIOUNITS +#ifdef AUDIOUNIT_SUPPORT case ARDOUR::AudioUnit: plugs = mgr->au_plugin_info(); break; @@ -237,7 +237,7 @@ Plugin::preset_by_uri (const string& uri) int Plugin::connect_and_run (BufferSet& bufs, ChanMapping /*in_map*/, ChanMapping /*out_map*/, - pframes_t nframes, framecnt_t offset) + pframes_t /* nframes */, framecnt_t /*offset*/) { if (bufs.count().n_midi() > 0) { @@ -339,3 +339,9 @@ Plugin::get_state () add_state (root); return *root; } + +void +Plugin::set_info (PluginInfoPtr info) +{ + _info = info; +} |