diff options
author | Taybin Rutkin <taybin@taybin.com> | 2006-08-31 16:34:42 +0000 |
---|---|---|
committer | Taybin Rutkin <taybin@taybin.com> | 2006-08-31 16:34:42 +0000 |
commit | 9bc22f6f86deb4258faf298b45cb117f09af8f96 (patch) | |
tree | 5318d027df86289bf8c1bcdea7b31685054a92a4 /libs/ardour/insert.cc | |
parent | 21d85f1854461ab6209d23e278fe289505cd106c (diff) |
Fixed compilation of CoreAudioSource
Seperated AUDIOUNITS support from COREAUDIO support.
Fixed metadata saving in SfdbUI.
git-svn-id: svn://localhost/ardour2/trunk@879 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/insert.cc')
-rw-r--r-- | libs/ardour/insert.cc | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/libs/ardour/insert.cc b/libs/ardour/insert.cc index f9ead93dbc..1c3ce510f3 100644 --- a/libs/ardour/insert.cc +++ b/libs/ardour/insert.cc @@ -35,7 +35,7 @@ #include <ardour/vst_plugin.h> #endif -#ifdef HAVE_COREAUDIO +#ifdef HAVE_AUDIOUNITS #include <ardour/audio_unit.h> #endif @@ -513,7 +513,7 @@ PluginInsert::plugin_factory (boost::shared_ptr<Plugin> other) #ifdef VST_SUPPORT boost::shared_ptr<VSTPlugin> vp; #endif -#ifdef HAVE_COREAUDIO +#ifdef HAVE_AUDIOUNITS boost::shared_ptr<AUPlugin> ap; #endif @@ -523,7 +523,7 @@ PluginInsert::plugin_factory (boost::shared_ptr<Plugin> other) } else if ((vp = boost::dynamic_pointer_cast<VSTPlugin> (other)) != 0) { return boost::shared_ptr<Plugin> (new VSTPlugin (*vp)); #endif -#ifdef HAVE_COREAUDIO +#ifdef HAVE_AUDIOUNITS } else if ((ap = boost::dynamic_pointer_cast<AUPlugin> (other)) != 0) { return boost::shared_ptr<Plugin> (new AUPlugin (*ap)); #endif @@ -829,7 +829,7 @@ PluginInsert::type () #ifdef VST_SUPPORT boost::shared_ptr<VSTPlugin> vp; #endif -#ifdef HAVE_COREAUDIO +#ifdef HAVE_AUDIOUNITS boost::shared_ptr<AUPlugin> ap; #endif @@ -841,7 +841,7 @@ PluginInsert::type () } else if ((vp = boost::dynamic_pointer_cast<VSTPlugin> (other)) != 0) { return ARDOUR::VST; #endif -#ifdef HAVE_COREAUDIO +#ifdef HAVE_AUDIOUNITS } else if ((ap = boost::dynamic_pointer_cast<AUPlugin> (other)) != 0) { return ARDOUR::AudioUnit; #endif @@ -1068,3 +1068,4 @@ PortInsert::input_streams() const { return n_outputs (); } + |