summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/plugin.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-10-14 16:10:01 +0000
committerDavid Robillard <d@drobilla.net>2009-10-14 16:10:01 +0000
commitbb9cc45cd22af67ac275a5e73accbe14fee664d8 (patch)
treee52977d3eae6ff07b856088041a080a2fa3e5b79 /libs/ardour/ardour/plugin.h
parent8c4ce1e2ce35571aed5a686671431fdfffae7f8c (diff)
Strip trailing whitespace and fix other whitespace errors (e.g. space/tab mixing). Whitespace changes only.
Vimmers, try let c_space_errors = 1 in your .vimrc to highlight this kind of stuff in red. I don't know the emacs equivalent... git-svn-id: svn://localhost/ardour2/branches/3.0@5773 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/plugin.h')
-rw-r--r--libs/ardour/ardour/plugin.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/libs/ardour/ardour/plugin.h b/libs/ardour/ardour/plugin.h
index a1fe25d31d..d80f299385 100644
--- a/libs/ardour/ardour/plugin.h
+++ b/libs/ardour/ardour/plugin.h
@@ -1,5 +1,5 @@
/*
- Copyright (C) 2000-2006 Paul Davis
+ Copyright (C) 2000-2006 Paul Davis
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -24,7 +24,7 @@
#include <sigc++/signal.h>
#include <glibmm/ustring.h>
-#include "pbd/statefuldestructible.h"
+#include "pbd/statefuldestructible.h"
#include "pbd/controllable.h"
#include <jack/types.h>
@@ -53,13 +53,13 @@ class PluginInfo {
public:
PluginInfo () { }
PluginInfo (const PluginInfo &o)
- : name(o.name),
- category (o.category),
+ : name(o.name),
+ category (o.category),
creator (o.creator),
- path (o.path),
- n_inputs(o.n_inputs),
+ path (o.path),
+ n_inputs(o.n_inputs),
n_outputs(o.n_outputs),
- unique_id(o.unique_id),
+ unique_id(o.unique_id),
index(o.index) {}
virtual ~PluginInfo () { }
@@ -70,7 +70,7 @@ class PluginInfo {
ChanCount n_inputs;
ChanCount n_outputs;
ARDOUR::PluginType type;
-
+
std::string unique_id;
virtual PluginPtr load (Session& session) = 0;
@@ -89,23 +89,23 @@ class Plugin : public PBD::StatefulDestructible, public Latent
Plugin (ARDOUR::AudioEngine&, ARDOUR::Session&);
Plugin (const Plugin&);
virtual ~Plugin ();
-
+
struct ParameterDescriptor {
- /* essentially a union of LADSPA and VST info */
-
- bool integer_step;
- bool toggled;
- bool logarithmic;
- bool sr_dependent;
- std::string label;
- float lower;
- float upper;
- float step;
- float smallstep;
- float largestep;
- bool min_unbound;
- bool max_unbound;
+ /* essentially a union of LADSPA and VST info */
+
+ bool integer_step;
+ bool toggled;
+ bool logarithmic;
+ bool sr_dependent;
+ std::string label;
+ float lower;
+ float upper;
+ float step;
+ float smallstep;
+ float largestep;
+ bool min_unbound;
+ bool max_unbound;
};
virtual std::string unique_id() const = 0;
@@ -125,7 +125,7 @@ class Plugin : public PBD::StatefulDestructible, public Latent
virtual int connect_and_run (BufferSet& bufs,
ChanMapping in, ChanMapping out,
nframes_t nframes, nframes_t offset) = 0;
-
+
virtual std::set<Evoral::Parameter> automatable() const = 0;
virtual std::string describe_parameter (Evoral::Parameter) = 0;
virtual std::string state_node_name() const = 0;
@@ -191,9 +191,9 @@ class Plugin : public PBD::StatefulDestructible, public Latent
protected:
friend class PluginInsert;
friend struct PluginInsert::PluginControl;
-
+
virtual void set_parameter (uint32_t which, float val) = 0;
-
+
bool save_preset (std::string uri, std::string domain /* vst, ladspa etc. */);
ARDOUR::AudioEngine& _engine;
@@ -206,5 +206,5 @@ class Plugin : public PBD::StatefulDestructible, public Latent
PluginPtr find_plugin(ARDOUR::Session&, std::string unique_id, ARDOUR::PluginType);
} // namespace ARDOUR
-
+
#endif /* __ardour_plugin_h__ */