diff options
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 (); } + |