summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/ladspa_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/ladspa_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/ladspa_plugin.h')
-rw-r--r--libs/ardour/ardour/ladspa_plugin.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/libs/ardour/ardour/ladspa_plugin.h b/libs/ardour/ardour/ladspa_plugin.h
index b610a87567..8128fccf94 100644
--- a/libs/ardour/ardour/ladspa_plugin.h
+++ b/libs/ardour/ardour/ladspa_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
@@ -27,7 +27,7 @@
#include <sigc++/signal.h>
-#include "pbd/stateful.h"
+#include "pbd/stateful.h"
#include <jack/types.h>
#include "ardour/ladspa.h"
@@ -45,7 +45,7 @@ class LadspaPlugin : public ARDOUR::Plugin
~LadspaPlugin ();
/* Plugin interface */
-
+
std::string unique_id() const;
const char* label() const { return _descriptor->Label; }
const char* name() const { return _descriptor->Name; }
@@ -57,10 +57,10 @@ class LadspaPlugin : public ARDOUR::Plugin
float get_parameter (uint32_t port) const;
int get_parameter_descriptor (uint32_t which, ParameterDescriptor&) const;
uint32_t nth_parameter (uint32_t port, bool& ok) const;
-
+
std::set<Evoral::Parameter> automatable() const;
- void activate () {
+ void activate () {
if (!_was_activated && _descriptor->activate)
_descriptor->activate (_handle);
@@ -83,7 +83,7 @@ class LadspaPlugin : public ARDOUR::Plugin
}
void set_block_size (nframes_t /*nframes*/) {}
-
+
int connect_and_run (BufferSet& bufs,
ChanMapping in, ChanMapping out,
nframes_t nframes, nframes_t offset);
@@ -105,7 +105,7 @@ class LadspaPlugin : public ARDOUR::Plugin
bool has_editor() const { return false; }
int require_output_streams (uint32_t);
-
+
/* LADSPA extras */
LADSPA_Properties properties() const { return _descriptor->Properties; }
@@ -114,7 +114,7 @@ class LadspaPlugin : public ARDOUR::Plugin
LADSPA_PortDescriptor port_descriptor(uint32_t i) const { return _descriptor->PortDescriptors[i]; }
const LADSPA_PortRangeHint* port_range_hints() const { return _descriptor->PortRangeHints; }
const char * const * port_names() const { return _descriptor->PortNames; }
-
+
void set_gain (float gain) { _descriptor->set_run_adding_gain (_handle, gain); }
void run_adding (uint32_t nsamples) { _descriptor->run_adding (_handle, nsamples); }
void connect_port (uint32_t port, float *ptr) { _descriptor->connect_port (_handle, port, ptr); }
@@ -136,7 +136,7 @@ class LadspaPlugin : public ARDOUR::Plugin
};
class LadspaPluginInfo : public PluginInfo {
- public:
+ public:
LadspaPluginInfo () { };
~LadspaPluginInfo () { };