From 2e2e20563ce4bec22a8f5ca158bcc077d3f3e1b2 Mon Sep 17 00:00:00 2001 From: Taybin Rutkin Date: Mon, 31 Jul 2006 22:05:28 +0000 Subject: Start of AudioUnit work. COREAUDIO=y is a little destable for now. git-svn-id: svn://localhost/ardour2/trunk@724 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/plugin_selector.h | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/plugin_selector.h') diff --git a/gtk2_ardour/plugin_selector.h b/gtk2_ardour/plugin_selector.h index 220de74871..25cba998df 100644 --- a/gtk2_ardour/plugin_selector.h +++ b/gtk2_ardour/plugin_selector.h @@ -104,7 +104,30 @@ class PluginSelector : public ArdourDialog static void _vst_refiller (void *); void vst_refiller (); void vst_display_selection_changed(); -#endif +#endif // VST_SUPPORT + +#ifdef HAVE_COREAUDIO + // page 3 + struct AUColumns : public Gtk::TreeModel::ColumnRecord { + AUColumns () { + add (name); + add (ins); + add (outs); + add (plugin); + } + Gtk::TreeModelColumn name; + Gtk::TreeModelColumn ins; + Gtk::TreeModelColumn outs; + Gtk::TreeModelColumn plugin; + }; + AUColumns aucols; + Glib::RefPtr aumodel; + Glib::RefPtr auselection; + Gtk::TreeView au_display; + static void _au_refiller (void *); + void au_refiller (); + void au_display_selection_changed(); +#endif //HAVE_COREAUDIO ARDOUR::PluginInfo* i_selected_plug; @@ -130,3 +153,4 @@ class PluginSelector : public ArdourDialog }; #endif // __ardour_plugin_selector_h__ + -- cgit v1.2.3