the return of VST support

git-svn-id: svn://localhost/ardour2/trunk@629 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2006-06-21 23:01:03 +00:00
parent 69ac3569ed
commit 912da52a53
172 changed files with 13809 additions and 13033 deletions

View file

@ -26,7 +26,6 @@ gtkardour.Merge ([
libraries['ardour'],
libraries['ardour_cp'],
libraries['gtkmm2ext'],
# libraries['flowcanvas'],
libraries['midi++2'],
libraries['pbd3'],
libraries['gtkmm2'],
@ -62,6 +61,7 @@ skipped_files=Split("""
connection_editor.cc
""")
gtkardour_files=Split("""
about.cc
actions.cc
@ -181,6 +181,7 @@ visual_time_axis.cc
waveview.cc
""")
fft_analysis_files=Split("""
analysis_window.cc
fft_graph.cc

View file

@ -43,6 +43,7 @@ using namespace Gdk;
using namespace std;
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
#ifdef WITH_PAYMENT_OPTIONS

View file

@ -39,6 +39,7 @@ using namespace std;
using namespace Gtk;
using namespace Glib;
using namespace sigc;
using namespace PBD;
vector<RefPtr<Gtk::Action> > ActionManager::session_sensitive_actions;
vector<RefPtr<Gtk::Action> > ActionManager::region_list_selection_sensitive_actions;

View file

@ -35,6 +35,7 @@ using namespace Gtk;
using namespace Gtkmm2ext;
using namespace sigc;
using namespace std;
using namespace PBD;
static const char* channel_setup_names[] = {
"Mono",

View file

@ -40,6 +40,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
AnalysisWindow::AnalysisWindow()
: ArdourDialog(_("analysis window")),

View file

@ -76,6 +76,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace Gtkmm2ext;
using namespace Gtk;
using namespace sigc;

View file

@ -47,6 +47,7 @@
using namespace std;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtkmm2ext;
using namespace Gtk;
using namespace Glib;

View file

@ -36,6 +36,7 @@
using namespace sigc;
using namespace Gtk;
using namespace PBD;
namespace ARDOUR {
class Session;

View file

@ -39,6 +39,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace Glib;
using namespace Gtk;
using namespace Gtkmm2ext;

View file

@ -40,6 +40,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
using namespace Gtkmm2ext;

View file

@ -28,6 +28,7 @@
#include "mixer_ui.h"
using namespace ARDOUR;
using namespace PBD;
int
ARDOUR_UI::create_mixer ()

View file

@ -35,6 +35,7 @@
using namespace Gtk;
using namespace Gtkmm2ext;
using namespace ARDOUR;
using namespace PBD;
void
ARDOUR_UI::setup_config_options ()

View file

@ -37,6 +37,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace sigc;
using namespace Gtk;

View file

@ -80,6 +80,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace LADSPA;
using namespace Gtk;
using namespace Editing;

View file

@ -31,6 +31,7 @@
using namespace std;
using namespace ARDOUR;
using namespace PBD;
AutomationGainLine::AutomationGainLine (const string & name, Session& s, TimeAxisView& tv, ArdourCanvas::Group& parent, Curve& c)

View file

@ -48,6 +48,7 @@
using namespace std;
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Editing;
using namespace Gnome; // for Canvas

View file

@ -31,6 +31,7 @@
#include <ardour/session.h>
using namespace ARDOUR;
using namespace PBD;
AutomationPanLine::AutomationPanLine (const string & name, Session& s, TimeAxisView& tv, ArdourCanvas::Group& parent, Curve& c)

View file

@ -16,6 +16,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
using namespace Editing;

View file

@ -12,6 +12,7 @@
using namespace std;
using namespace Gtk;
using namespace PBD;
/* the global color map */

View file

@ -43,6 +43,7 @@
using namespace std;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
using namespace sigc;

View file

@ -52,6 +52,7 @@
using namespace std;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
using namespace sigc;
using namespace Editing;

View file

@ -35,6 +35,7 @@
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Editing;
using namespace Gnome;
using namespace Canvas;

View file

@ -7,6 +7,7 @@
using namespace std;
using namespace ARDOUR;
using namespace PBD;
int
curvetest (string filename)

View file

@ -84,6 +84,7 @@
using namespace std;
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
using namespace Glib;
using namespace Gtkmm2ext;

View file

@ -12,6 +12,7 @@ using namespace Glib;
using namespace std;
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Editing;
void

View file

@ -42,6 +42,7 @@
using namespace std;
using namespace ARDOUR;
using namespace PBD;
using namespace sigc;
using namespace Gtk;
using namespace Editing;

View file

@ -8,6 +8,7 @@
#include "selection.h"
using namespace ARDOUR;
using namespace PBD;
void
Editor::set_route_loop_selection ()

View file

@ -46,6 +46,7 @@
using namespace std;
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
using namespace Glib;
using namespace Gtkmm2ext;

View file

@ -42,6 +42,7 @@
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
bool

View file

@ -28,6 +28,7 @@
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
Editor::Cursor::Cursor (Editor& ed, const string& color, bool (Editor::*callbck)(GdkEvent*,ArdourCanvas::Item*))

View file

@ -38,6 +38,7 @@
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
void

View file

@ -46,6 +46,7 @@
using namespace std;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
void

View file

@ -24,6 +24,7 @@
using namespace std;
using namespace ARDOUR;
using namespace PBD;
void
Editor::hscrollbar_allocate (Gtk::Allocation &alloc)

View file

@ -44,6 +44,7 @@
#include "public_editor.h"
using namespace Gtk;
using namespace PBD;
/* <CMT Additions file="editor.cc"> */

View file

@ -36,6 +36,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace sigc;
void

View file

@ -41,6 +41,7 @@
using namespace std;
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
void

View file

@ -61,6 +61,7 @@
using namespace std;
using namespace ARDOUR;
using namespace PBD;
using namespace sigc;
using namespace Gtk;
using namespace Editing;

View file

@ -27,4 +27,5 @@
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;

View file

@ -64,6 +64,7 @@
using namespace std;
using namespace ARDOUR;
using namespace PBD;
using namespace sigc;
using namespace Gtk;
using namespace Editing;

View file

@ -42,6 +42,7 @@
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
using namespace Glib;
using namespace Editing;

View file

@ -35,6 +35,7 @@
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
void

View file

@ -35,6 +35,7 @@
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
using namespace Editing;

View file

@ -40,6 +40,7 @@
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
using namespace Gtkmm2ext;

View file

@ -49,6 +49,7 @@
using namespace std;
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
using namespace Gtkmm2ext;
using namespace Editing;

View file

@ -41,6 +41,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace sigc;
using namespace Gtk;

View file

@ -49,6 +49,7 @@
using namespace std;
using namespace ARDOUR;
using namespace PBD;
using namespace sigc;
using namespace Gtk;

View file

@ -32,6 +32,7 @@
using namespace Gtk;
using namespace ARDOUR;
using namespace PBD;
using namespace std;
ExportRangeMarkersDialog::ExportRangeMarkersDialog (PublicEditor& editor)

View file

@ -28,6 +28,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
GainAutomationTimeAxisView::GainAutomationTimeAxisView (Session& s, Route& r, PublicEditor& e, TimeAxisView& parent, ArdourCanvas::Canvas& canvas, const string & n, ARDOUR::Curve& c)

View file

@ -47,6 +47,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace Gtkmm2ext;
using namespace Gtk;
using namespace sigc;

View file

@ -52,6 +52,7 @@ using namespace std;
using namespace ardourvis ;
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
ImageFrameSocketHandler* ImageFrameSocketHandler::_instance = 0 ;

View file

@ -47,6 +47,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace sigc;
using namespace Gtk;

View file

@ -49,6 +49,7 @@ using namespace Gtk;
using namespace Glib;
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtkmm2ext;
IOSelectorWindow::IOSelectorWindow (Session& sess, IO& ior, bool input, bool can_cancel)

View file

@ -35,6 +35,8 @@
#include "i18n.h"
using namespace PBD;
#define KBD_DEBUG 1
bool debug_keyboard = false;

View file

@ -38,6 +38,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
using namespace Gtkmm2ext;

View file

@ -53,6 +53,7 @@
using namespace Gtk;
using namespace GTK_ARDOUR;
using namespace ARDOUR;
using namespace PBD;
using namespace sigc;
TextReceiver text_receiver ("ardour");
@ -361,9 +362,17 @@ To create it from the command line, start ardour as \"ardour --new %1"), path)
return true;
}
#ifdef VST_SUPPORT
/* this is called from the entry point of a wine-compiled
executable that is linked against gtk2_ardour built
as a shared library.
*/
extern "C" {
int ardour_main (int argc, char *argv[])
#else
int main (int argc, char *argv[])
#endif
int
main (int argc, char *argv[])
{
ARDOUR::AudioEngine *engine;
vector<Glib::ustring> null_file_list;
@ -463,6 +472,9 @@ main (int argc, char *argv[])
ARDOUR::cleanup ();
shutdown (0);
/* just another commit forcing change */
return 0;
}
#ifdef VST_SUPPORT
} // end of extern C block
#endif

View file

@ -42,6 +42,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace sigc;
using namespace Gtk;

View file

@ -32,6 +32,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
using namespace sigc;

View file

@ -40,6 +40,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
using namespace Gtkmm2ext;

View file

@ -63,6 +63,7 @@
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
using namespace Gtkmm2ext;

View file

@ -49,6 +49,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
using namespace Glib;
using namespace Gtkmm2ext;

View file

@ -43,6 +43,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
using namespace Editing;
using namespace Gtkmm2ext;

View file

@ -31,6 +31,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
PanAutomationTimeAxisView::PanAutomationTimeAxisView (Session& s, Route& r, PublicEditor& e, TimeAxisView& parent, Canvas& canvas, std::string n)

View file

@ -39,6 +39,7 @@ using namespace std;
using namespace Gtk;
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
Panner2d::Target::Target (float xa, float ya, const char *txt)
: x (xa), y (ya), text (txt ? strdup (txt) : 0)

View file

@ -41,6 +41,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace Gtkmm2ext;
using namespace Gtk;
using namespace sigc;

View file

@ -40,6 +40,7 @@ using namespace std;
using namespace sigc;
using namespace Gtk;
using namespace ARDOUR;
using namespace PBD;
PlaylistSelector::PlaylistSelector ()
: ArdourDialog ("playlist selector")

View file

@ -36,6 +36,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
PluginSelector::PluginSelector (PluginManager *mgr)
@ -149,6 +150,7 @@ PluginSelector::PluginSelector (PluginManager *mgr)
added_list.get_selection()->signal_changed().connect (mem_fun(*this, &PluginSelector::added_list_selection_changed));
input_refiller ();
vst_refiller ();
}
void
@ -306,6 +308,7 @@ PluginSelector::btn_update_clicked()
{
manager->refresh ();
input_refiller ();
vst_refiller ();
}
#ifdef VST_SUPPORT

View file

@ -56,6 +56,7 @@
using namespace std;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtkmm2ext;
using namespace Gtk;
using namespace sigc;

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -32,6 +32,7 @@
using namespace std;
using namespace ARDOUR;
using namespace PBD;
RedirectAutomationLine::RedirectAutomationLine (const string & name, Redirect& rd, uint32_t port, Session& s,

View file

@ -29,6 +29,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
RedirectAutomationTimeAxisView::RedirectAutomationTimeAxisView (Session& s, Route& r, PublicEditor& e, TimeAxisView& parent, Canvas& canvas, std::string n,

View file

@ -65,6 +65,7 @@
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
using namespace Glib;
using namespace Gtkmm2ext;

View file

@ -33,6 +33,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace sigc;
using namespace std;

View file

@ -16,6 +16,7 @@
using namespace std;
using namespace ARDOUR;
using namespace PBD;
AudioRegionGainLine::AudioRegionGainLine (const string & name, Session& s, AudioRegionView& r, ArdourCanvas::Group& parent, Curve& c)
: AutomationLine (name, r.get_time_axis_view(), parent, c),

View file

@ -6,6 +6,7 @@
#include "region_selection.h"
using namespace ARDOUR;
using namespace PBD;
using namespace sigc;

View file

@ -49,6 +49,7 @@
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Editing;
using namespace ArdourCanvas;

View file

@ -52,6 +52,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace Gtk;
using namespace sigc;

View file

@ -31,6 +31,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace sigc;
RouteRedirectSelection&

View file

@ -41,6 +41,7 @@ using namespace sigc;
using namespace Gtk;
using namespace Gtkmm2ext;
using namespace ARDOUR;
using namespace PBD;
RouteUI::RouteUI (ARDOUR::Route& rt, ARDOUR::Session& sess, const char* m_name,

View file

@ -33,6 +33,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace sigc;
struct AudioRangeComparator {

View file

@ -28,6 +28,7 @@
#include "gui_thread.h"
using namespace ARDOUR;
using namespace PBD;
SendUI::SendUI (Send& s, Session& se)
: _send (s),

View file

@ -42,6 +42,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace std;
SoundFileBox::SoundFileBox ()

View file

@ -29,6 +29,7 @@
#include "color.h"
using namespace ARDOUR;
using namespace PBD;
using namespace Editing;
StreamView::StreamView (AudioTimeAxisView& tv)

View file

@ -38,6 +38,7 @@
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Editing;
using namespace ArdourCanvas;

View file

@ -11,6 +11,7 @@
using namespace Gtk;
using namespace Gtkmm2ext;
using namespace ARDOUR;
using namespace PBD;
TempoDialog::TempoDialog (TempoMap& map, jack_nframes_t frame, const string & action)
: ArdourDialog ("tempo dialog"),

View file

@ -55,6 +55,7 @@ using namespace Gtk;
using namespace Gdk;
using namespace sigc;
using namespace ARDOUR;
using namespace PBD;
using namespace Editing;
using namespace ArdourCanvas;

View file

@ -38,6 +38,7 @@
using namespace std;
using namespace Editing;
using namespace Glib;
using namespace PBD;
//------------------------------------------------------------------------------
/** Initialize const static memeber data */

View file

@ -28,6 +28,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
AudioRange&
TimeSelection::operator[] (uint32_t which)

View file

@ -43,6 +43,7 @@ using namespace std;
using namespace Gtk;
using namespace sigc;
using namespace Glib;
using namespace PBD;
ustring
fit_to_pixels (const ustring& str, int pixel_width, Pango::FontDescription& font, int& actual_width)

View file

@ -55,6 +55,7 @@
#include "i18n.h"
using namespace ARDOUR;
using namespace PBD;
using namespace sigc;
using namespace Gtk;

View file

@ -29,6 +29,7 @@
using namespace Gtk;
using namespace ARDOUR;
using namespace PBD;
VSTPluginUI::VSTPluginUI (PluginInsert& pi, VSTPlugin& vp)
: PlugUIBase (pi),

View file

@ -53,6 +53,7 @@
using namespace std;
using namespace ARDOUR;
using namespace PBD;
jack_nframes_t AudioDiskstream::disk_io_chunk_frames;

View file

@ -42,6 +42,7 @@
using namespace std;
using namespace ARDOUR;
using namespace PBD;
static char* SOUNDFILE = "http://ardour.org/ontology/Soundfile";

View file

@ -37,6 +37,7 @@
using namespace ARDOUR;
using namespace sigc;
using namespace std;
using namespace PBD;
AudioPlaylist::State::~State ()
{

Some files were not shown because too many files have changed in this diff Show more